Linux and the BSDs have getifaddrs(). Use it and save a bunch of complex coding.
authorJeremy Harris <jgh146exb@wizmail.org>
Wed, 17 Mar 2021 14:33:46 +0000 (14:33 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 17 Mar 2021 14:33:46 +0000 (14:33 +0000)
commit995e599afd3e6468d3396fb351ed0cd0ea212779
tree159ceee53c1dcd922fb26336c517db74a98d31a1
parent376fa78ab65917689a9eb5d4bcd44ce6e41feb35
Linux and the BSDs have getifaddrs().  Use it and save a bunch of complex coding.
src/OS/os.h-FreeBSD
src/OS/os.h-Linux
src/OS/os.h-OpenBSD
src/src/host.c
src/src/os.c