-
-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD: replace getnameinfo with inet_ntop #462
FreeBSD: replace getnameinfo with inet_ntop #462
Conversation
5fe2891
to
e938ccb
Compare
also make IPv6 work.
e938ccb
to
12def52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍🏼
Not sure why IPv6 addresses was previously disabled but looks to be working fine.
Yeah, there is currently no method employed to get the MAC address in freebsd (or macos I think). In linux it's collected from |
this is like PR aristocratos#462 for FreeBSD, and like PR aristocratos#458 for Linux.
this is like PR aristocratos#462 for FreeBSD, and like PR aristocratos#458 for Linux.
this is like PR aristocratos#462 for FreeBSD, and like PR aristocratos#458 for Linux.
also make IPv6 work (previously it was commented out)
(re)tested it to work in freebsd 13.1 in virtualbox, not just to compile.
Note that, unlike in Linux, if all IPv4 and IPv6 IPs are missing, then the interface MAC isn't shown in their place (but this is a different issue)