getifaddrs(3) does a non trivial amount of work.
authorflorian <florian@openbsd.org>
Fri, 31 May 2024 16:10:02 +0000 (16:10 +0000)
committerflorian <florian@openbsd.org>
Fri, 31 May 2024 16:10:02 +0000 (16:10 +0000)
commitc358c7e38d3faf6438ab1eeea345ec40dabd96bf
tree57ec7afeceb02a372c7e4e7c0ed80705904a64e1
parent51f875f766a3bbb7f211154ac45282267493b28c
getifaddrs(3) does a non trivial amount of work.

Call it once and pass a pointer to the head of the list around when
reconfiguring interfaces.

testing Ryan Vogt
ok benno
testing & OK bket@, jmatthew@
usr.sbin/rad/frontend.c