Update of /cvsroot/dhcp-agent/dhcp-agent/src
In directory sc8-pr-cvs1:/tmp/cvs-serv19238/src
Modified Files:
dhcp-sysconf.c
Log Message:
correct bug in setting the same timer twice
Index: dhcp-sysconf.c
===================================================================
RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-sysconf.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** dhcp-sysconf.c 23 Jun 2003 06:05:03 -0000 1.19
--- dhcp-sysconf.c 25 Jun 2003 02:38:02 -0000 1.20
***************
*** 129,133 ****
INFO_MESSAGE("setting renew time to: %"PRIu32" seconds", renew_time);
! timer_add_trigger(dc->context->timer, renew_time, TIMER_REBIND);
if(!have_rebind) {
--- 129,133 ----
INFO_MESSAGE("setting renew time to: %"PRIu32" seconds", renew_time);
! timer_add_trigger(dc->context->timer, renew_time, TIMER_RENEW);
if(!have_rebind) {
|