mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 13:57:50 +00:00
Parse client state names as numbers.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: parse.c,v 1.95 2001/01/03 23:33:18 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: parse.c,v 1.96 2001/01/11 23:14:11 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"
|
||||||
@@ -3697,6 +3697,30 @@ int parse_non_binary (expr, cfile, lose, context)
|
|||||||
known = YXRRSET;
|
known = YXRRSET;
|
||||||
goto ns_const;
|
goto ns_const;
|
||||||
|
|
||||||
|
case BOOTING:
|
||||||
|
known = S_INIT;
|
||||||
|
goto ns_const;
|
||||||
|
|
||||||
|
case REBOOT:
|
||||||
|
known = S_REBOOTING;
|
||||||
|
goto ns_const;
|
||||||
|
|
||||||
|
case SELECT:
|
||||||
|
known = S_SELECTING;
|
||||||
|
goto ns_const;
|
||||||
|
|
||||||
|
case BOUND:
|
||||||
|
known = S_BOUND;
|
||||||
|
goto ns_const;
|
||||||
|
|
||||||
|
case RENEW:
|
||||||
|
known = S_RENEWING;
|
||||||
|
goto ns_const;
|
||||||
|
|
||||||
|
case REBIND:
|
||||||
|
known = S_REBINDING;
|
||||||
|
goto ns_const;
|
||||||
|
|
||||||
case DEFINED:
|
case DEFINED:
|
||||||
token = next_token (&val, cfile);
|
token = next_token (&val, cfile);
|
||||||
token = next_token (&val, cfile);
|
token = next_token (&val, cfile);
|
||||||
|
Reference in New Issue
Block a user