[dhcp-agent-commits] dhcp-agent dhcp-client.c,1.48,1.49 dhcp-client.h,1.4,1.5
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2002-10-26 22:47:20
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory usw-pr-cvs1:/tmp/cvs-serv29078 Modified Files: dhcp-client.c dhcp-client.h Log Message: fix to bugged dispatchingg :) Index: dhcp-client.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client.c,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** dhcp-client.c 26 Oct 2002 22:39:32 -0000 1.48 --- dhcp-client.c 26 Oct 2002 22:47:17 -0000 1.49 *************** *** 251,255 **** } ! state = client_states[state]; } --- 251,255 ---- } ! state = client_states[state](dc); } Index: dhcp-client.h =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dhcp-client.h 26 Oct 2002 22:39:32 -0000 1.4 --- dhcp-client.h 26 Oct 2002 22:47:17 -0000 1.5 *************** *** 41,48 **** #define STATE_DISCOVER_OFFER 0 #define STATE_REQUEST_ACK 1 ! #define STATE_SETUP 3 ! #define STATE_WAIT 4 ! #define STATE_RELEASE 5 ! #define STATE_FATAL_ERROR 6 extern int client_discover_offer(dhcp_client_control_t *dc); --- 41,48 ---- #define STATE_DISCOVER_OFFER 0 #define STATE_REQUEST_ACK 1 ! #define STATE_SETUP 2 ! #define STATE_WAIT 3 ! #define STATE_RELEASE 4 ! #define STATE_FATAL_ERROR 5 extern int client_discover_offer(dhcp_client_control_t *dc); |