]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Oops, add constant for requesting state
authorTed Lemon <source@isc.org>
Fri, 26 Jan 2001 05:56:29 +0000 (05:56 +0000)
committerTed Lemon <source@isc.org>
Fri, 26 Jan 2001 05:56:29 +0000 (05:56 +0000)
common/dhcp-eval.5
common/parse.c

index 40e5f14d6283b279328bf6dbfe12c6da672e7e3c..bbdf6a5c2ac14ecd7a783bf27078757a8a4d55ce 100644 (file)
@@ -360,9 +360,14 @@ heard, the client will bind to its address and move to the BOUND state.
 .I \(bu
 Select - DHCP client is in the SELECTING state - it has received at
 least one DHCPOFFER message, but is waiting to see if it may receive
-other DHCPOFFER messages from other servers.   The next message to be
-transmitted will be a DHCPREQUEST, which will be broadcast.   The
-client does not have an IP address.
+other DHCPOFFER messages from other servers.   No messages are sent in
+the SELECTING state.
+.TP
+.I \(bu
+Request - DHCP client is in the REQUESTING state - it has received at
+least one DHCPOFFER message, and has chosen which one it will
+request.   The next message to be sent will be a DHCPREQUEST message,
+which will be broadcast.
 .TP
 .I \(bu
 Bound - DHCP client is in the BOUND state - it has an IP address.   No
index 13d1bf94ccd438d964f17424bbdb572a4a7ab785..25d9f9ffcdd48956ac2f541f2df62571d349896e 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: parse.c,v 1.98 2001/01/25 08:23:49 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: parse.c,v 1.99 2001/01/26 05:56:29 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -3730,6 +3730,10 @@ int parse_non_binary (expr, cfile, lose, context)
                known = S_SELECTING;
                goto ns_const;
 
+             case REQUEST:
+               known = S_REQUESTING;
+               goto ns_const;
+
              case BOUND:
                known = S_BOUND;
                goto ns_const;