[dhcp-agent-commits] dhcp-agent/src dhcp-client-states.c,1.37,1.38
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-06-25 02:21:07
|
Update of /cvsroot/dhcp-agent/dhcp-agent/src In directory sc8-pr-cvs1:/tmp/cvs-serv17182/src Modified Files: dhcp-client-states.c Log Message: now sending arp reply beforing doing sysconf Index: dhcp-client-states.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-client-states.c,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** dhcp-client-states.c 25 Jun 2003 01:54:14 -0000 1.37 --- dhcp-client-states.c 25 Jun 2003 02:21:04 -0000 1.38 *************** *** 383,394 **** } ! client_setup_timers(dc); ! do_sysconf(options, dc, STATE_SETUP); ! ! dhcp_opt_destroy_option_list(options); if(client_broadcast_arp_reply(dc) < 0) { return STATE_FATAL_ERROR; } return STATE_BOUND; --- 383,397 ---- } ! /* since we're going to use this address, let's reply for it ! * and let everyone know we're using it. */ if(client_broadcast_arp_reply(dc) < 0) { return STATE_FATAL_ERROR; } + + client_setup_timers(dc); + do_sysconf(options, dc, STATE_SETUP); + + dhcp_opt_destroy_option_list(options); return STATE_BOUND; |