From 7ff3c7f7d0198722c304cb0b08a1eefa9bcdaf8c Mon Sep 17 00:00:00 2001 From: correabuscar Date: Sun, 6 Nov 2022 13:45:13 +0100 Subject: [PATCH] a comment about AF_LINK being ignored on purpose --- src/freebsd/btop_collect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freebsd/btop_collect.cpp b/src/freebsd/btop_collect.cpp index 34d04bf..613e996 100644 --- a/src/freebsd/btop_collect.cpp +++ b/src/freebsd/btop_collect.cpp @@ -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> ifstats;