Skip to content

Commit

Permalink
Merge pull request #463 from correabuscar/freebsd_replace__getnameinf…
Browse files Browse the repository at this point in the history
…o__with__inet_ntop [skip actions]

a comment about AF_LINK being ignored on purpose
  • Loading branch information
aristocratos committed Nov 6, 2022
2 parents 20df836 + 7ff3c7f commit 2512364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/freebsd/btop_collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ namespace Net {
Logger::error("Net::collect() -> Failed to convert IPv6 to string for iface " + string(iface) + ", errno: " + strerror(errsv));
}
}
}
} //else, ignoring family==AF_LINK (see man 3 getifaddrs)
}

unordered_flat_map<string, std::tuple<uint64_t, uint64_t>> ifstats;
Expand Down

0 comments on commit 2512364

Please sign in to comment.