[dhcp-agent-commits] dhcp-agent/src dhcp-client-states.c,1.22,1.23
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2002-12-30 21:54:40
|
Update of /cvsroot/dhcp-agent/dhcp-agent/src In directory sc8-pr-cvs1:/tmp/cvs-serv28639 Modified Files: dhcp-client-states.c Log Message: more fixes to checks Index: dhcp-client-states.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-client-states.c,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** dhcp-client-states.c 30 Dec 2002 20:20:54 -0000 1.22 --- dhcp-client-states.c 30 Dec 2002 21:54:37 -0000 1.23 *************** *** 229,239 **** /* is rawnet happy with the packet? */ ! if(((!rawnet_is_valid(dc->rawnet)) || /* is it a DHCP packet? */ ! (dc->rawnet->type != RAWNET_DHCP) || /* does the XID match up? */ ! (dhcp_get_xid(dc->rawnet->dhcp_p) != dc->xid) || /* is it from a server? */ --- 229,239 ---- /* is rawnet happy with the packet? */ ! if(((!rawnet_is_valid(dc->rawnet)) "&& /* is it a DHCP packet? */ ! (dc->rawnet->type != RAWNET_DHCP) && /* does the XID match up? */ ! (dhcp_get_xid(dc->rawnet->dhcp_p) != dc->xid) && /* is it from a server? */ |