Tweak handling of HUP and new LLADDR. Just use expose and use sighup()
authorkrw <krw@openbsd.org>
Sat, 24 Jun 2017 23:32:57 +0000 (23:32 +0000)
committerkrw <krw@openbsd.org>
Sat, 24 Jun 2017 23:32:57 +0000 (23:32 +0000)
commita1ae353a379c52a65c469ecb23fb0d29b2907432
tree848d8dd2f7c7589716452eaacf91694f7890fafe
parent9a8f0651ca66ed28ba61536f276dd8088bd055ed
Tweak handling of HUP and new LLADDR. Just use expose and use sighup()
function. Don't exit dispatch() loop on SIGHUP, wait for privileged
child to execvp() dhclient. Eliminate struct imsg_hup since its
contents were not being used except in priv_cleanup(). And
'active_addr' works just as well there.

Cleaner and eliminates some extraneous log entries.
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c
sbin/dhclient/kroute.c
sbin/dhclient/privsep.c
sbin/dhclient/privsep.h