Update of /cvsroot/dhcp-agent/dhcp-agent
In directory usw-pr-cvs1:/tmp/cvs-serv1332
Modified Files:
dhcp-client-states.c
Log Message:
minor fix to use string_matches
Index: dhcp-client-states.c
===================================================================
RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client-states.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** dhcp-client-states.c 30 Jun 2002 21:22:15 -0000 1.34
--- dhcp-client-states.c 2 Jul 2002 16:46:11 -0000 1.35
***************
*** 44,48 ****
if(string_matches(policy, "exact"))
return(dhcp_have_exact_requested_options(dc->rawnet->dhcp_p, dc->conf->options));
! else if(!strcmp(policy, "atleast"))
return(dhcp_have_atleast_requested_options(dc->rawnet->dhcp_p, dc->conf->options));
else /* bad policy : warn and use atleast */ {
--- 44,48 ----
if(string_matches(policy, "exact"))
return(dhcp_have_exact_requested_options(dc->rawnet->dhcp_p, dc->conf->options));
! else if(string_matches(policy, "atleast"))
return(dhcp_have_atleast_requested_options(dc->rawnet->dhcp_p, dc->conf->options));
else /* bad policy : warn and use atleast */ {
|