CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2012/08/26 17:33:31

Modified files:
        sbin/dhclient  : clparse.c dhclient.c dhcpd.h dispatch.c 

Log message:
Junk global cur_time, and use time(NULL) or local variables where
time is checked multiple times. Add a set_timeout_interval() function
to allow setting a timeout based on an interval from current time.

Fixes issues with initial startup where the global cur_time was
always old and caused initial DHCPDISCOVER or DHCPREQUEST packets
to be sent multiple times. And probably other timeout related
oddities.

Tested by naddy@

Reply via email to