Use ioctlfd/routefd sockets rather than rolling one's own
authorkrw <krw@openbsd.org>
Mon, 10 Jul 2017 14:11:47 +0000 (14:11 +0000)
committerkrw <krw@openbsd.org>
Mon, 10 Jul 2017 14:11:47 +0000 (14:11 +0000)
commit6c42bd9df8beac5a5fc727019edb885234d65349
tree6256c23147d83ef5aa553fdba083699a97332879
parentdb0c671b60e5b02751bb31023ce8bca85886b758
Use ioctlfd/routefd sockets rather than rolling one's own
for resolving 'egress' and adding a route. Move creation
of main()'s ioctlfd up so it can be used for the
'egress' resolution.
sbin/dhclient/dhclient.c
sbin/dhclient/kroute.c
sbin/dhclient/privsep.c
sbin/dhclient/privsep.h