CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2012/12/17 15:52:59
Modified files: sbin/dhclient : dhclient.c kroute.c Log message: Don't daemonize until the RTM_NEWADDR message is received. Shuffle things a bit so configuring the address and default route are done last. This makes it much more likely that all the work is done when the 'bound to ...' message is displayed. Amoung other things fixes a problem with the install scripts, where the first (hostname-associated) dhclient can exit so quickly the interface doesn't yet have an address and a second (free-floating) dhclient is therefore often run. Noted by rpe@, who also tested the fix.