[dhcp-agent-commits] dhcp-agent/src dhcp-client-states.c,1.38,1.39
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-06-25 02:27:44
|
Update of /cvsroot/dhcp-agent/dhcp-agent/src In directory sc8-pr-cvs1:/tmp/cvs-serv17921/src Modified Files: dhcp-client-states.c Log Message: fixed arp reply to use correct address Index: dhcp-client-states.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-client-states.c,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** dhcp-client-states.c 25 Jun 2003 02:21:04 -0000 1.38 --- dhcp-client-states.c 25 Jun 2003 02:27:42 -0000 1.39 *************** *** 188,194 **** */ ! static int client_broadcast_arp_reply(dhcp_client_control_t *dc) { - ip_addr_t client_ip_addr; eth_addr_t client_hw_addr; --- 188,193 ---- */ ! static int client_broadcast_arp_reply(dhcp_client_control_t *dc, ip_addr_t client_ip_addr) { eth_addr_t client_hw_addr; *************** *** 386,390 **** * and let everyone know we're using it. */ ! if(client_broadcast_arp_reply(dc) < 0) { return STATE_FATAL_ERROR; } --- 385,389 ---- * and let everyone know we're using it. */ ! if(client_broadcast_arp_reply(dc, *passed_ip) < 0) { return STATE_FATAL_ERROR; } |