2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 06:45:27 +00:00

Oops, add constant for requesting state

This commit is contained in:
Ted Lemon
2001-01-26 05:56:29 +00:00
parent 69150c8a9c
commit 543ce4f87d
2 changed files with 13 additions and 4 deletions

View File

@@ -360,9 +360,14 @@ heard, the client will bind to its address and move to the BOUND state.
.I \(bu .I \(bu
Select - DHCP client is in the SELECTING state - it has received at 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 least one DHCPOFFER message, but is waiting to see if it may receive
other DHCPOFFER messages from other servers. The next message to be other DHCPOFFER messages from other servers. No messages are sent in
transmitted will be a DHCPREQUEST, which will be broadcast. The the SELECTING state.
client does not have an IP address. .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 .TP
.I \(bu .I \(bu
Bound - DHCP client is in the BOUND state - it has an IP address. No Bound - DHCP client is in the BOUND state - it has an IP address. No

View File

@@ -43,7 +43,7 @@
#ifndef lint #ifndef lint
static char copyright[] = 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 */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -3730,6 +3730,10 @@ int parse_non_binary (expr, cfile, lose, context)
known = S_SELECTING; known = S_SELECTING;
goto ns_const; goto ns_const;
case REQUEST:
known = S_REQUESTING;
goto ns_const;
case BOUND: case BOUND:
known = S_BOUND; known = S_BOUND;
goto ns_const; goto ns_const;