dhclient hang

2015-12-07 Thread Martin Pieuchot
If for some reason SIOCAIFADDR fails, exit instead of hanging. Without this diff I need to kill dhclient(8) with ctrl+C during boot if I happen to have the address offered by the server configured on a different interface. WARNING: do not try to do that on -current without my rt_delete diffs or

Re: dhclient hang

2015-12-07 Thread Kenneth Westerback
I don't understand what you mean by hang? Does it hang the box? I would expect dhclient to reject the offer and try again. Does dhclient never try again? I'll take a closer look tomorrow, but if it isn't now it should be easy to fix dhclient to try again for a different lease. Ken On 7 Dec

Re: dhclient hang

2015-12-07 Thread Bob Beck
I think trying again for a different lease is the right thing.. I'm really tired of dhclient exiting for stupid reasons ;) On Mon, Dec 7, 2015 at 3:11 PM, Kenneth Westerback wrote: > I don't understand what you mean by hang? Does it hang the box? I would > expect dhclient