Nuke get_rdomain() and just snag the interface rdomain from the same
authorkrw <krw@openbsd.org>
Tue, 27 Jun 2017 13:24:49 +0000 (13:24 +0000)
committerkrw <krw@openbsd.org>
Tue, 27 Jun 2017 13:24:49 +0000 (13:24 +0000)
commit5839c49178882dfed2e98b334aef03c88dfef9a6
tree3d8eede620cc3d32e371528384404e654d0b9069
parent676013e4814854f52b2942c1d628cfa561bdf2db
Nuke get_rdomain() and just snag the interface rdomain from the same
ifa we use to get the interface hw address. One less socket() and
ioctl()! MIssed cleanup from shift to just watching RTM_IFINFO
messages for rdomain switch.
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c