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:
Jakob P. Liljenberg 2022-11-06 14:40:26 +01:00 committed by GitHub
commit 25123644f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;