mirror of https://github.com/aristocratos/btop.git
Merge pull request #463 from correabuscar/freebsd_replace__getnameinfo__with__inet_ntop [skip actions]
a comment about AF_LINK being ignored on purpose
This commit is contained in:
commit
25123644f0
|
@ -866,7 +866,7 @@ namespace Net {
|
||||||
Logger::error("Net::collect() -> Failed to convert IPv6 to string for iface " + string(iface) + ", errno: " + strerror(errsv));
|
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;
|
unordered_flat_map<string, std::tuple<uint64_t, uint64_t>> ifstats;
|
||||||
|
|
Loading…
Reference in New Issue