[PATCH] dhclient active interface detection patch

Marcin Dalecki mdcki at gmx.net
Mon Apr 21 04:17:13 PDT 2003


Martin Blapp wrote:
> Hi all,
> 
> Already promised a few times, now I have done it :)
> 
> Many of you may have a laptop and already had it a few times
> happen that the new IP didn't got set automatically. So you
> had to kill dhclient and restart it again.
> 
> I've added code to dhclient to exactly fix this issue. Now dhclient
> behaves now like the win2000 dhcp-client.
> 
> It polls the interface status of the selected interfaces and
> sends only requests if the link is there. It cancels all outstanding
> requests if the link goes away. The polling is currently hardcoded
> and done all 5 seconds. Of course I can change that later and make a
> option.

Tested on 5.0-current - works as expected. I would consider this
options *vital* and would be glad to see it committed it to CURRENT
better sooner then later. Thanks!



More information about the freebsd-hackers mailing list