CVSROOT:        /cvs
Module name:    src
Changes by:     st...@cvs.openbsd.org   2012/10/11 02:05:05

Modified files:
        sbin/dhclient  : dispatch.c 

Log message:
Remove the new (as of r1.56) line of code which updates ifi->linkstat in
the dispatch loop again; in the case where two RTM_IFINFO link changes occur
immediately after each other (as in the case with trunk and probably vlan)
dhclient missed the state change of the second interface.

ok krw@, who points out that dhcp packets received between the two
RTM_IFINFO messages would be lost, however the window is small (<0.4ms on
my laptop) and this is better than not noticing the link change.

Reply via email to