Update of /cvsroot/dhcp-agent/dhcp-agent/src
In directory sc8-pr-cvs1:/tmp/cvs-serv30890/src
Modified Files:
dhcp-client-states.c
Log Message:
lack of required directive now means we accept everything
Index: dhcp-client-states.c
===================================================================
RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-client-states.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** dhcp-client-states.c 27 Jun 2003 20:59:17 -0000 1.43
--- dhcp-client-states.c 28 Jun 2003 17:50:06 -0000 1.44
***************
*** 459,467 ****
if(required_options == NULL) {
! /* if not we ask for our requested options and pick from there. */
! /* FIXME: it should be configurable that we accept any response. */
! WARN_MESSAGE("requiring all requested options since no required options have been configured explicity.");
! required_options = client_conf_get_request_opt_bit_array(dc->conf);
! }
/* build our received options array. */
--- 459,465 ----
if(required_options == NULL) {
! WARN_MESSAGE("no required options set. accepting first response.");
! return 1;
! }
/* build our received options array. */
|