]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Parse client state names as numbers.
authorTed Lemon <source@isc.org>
Thu, 11 Jan 2001 23:14:11 +0000 (23:14 +0000)
committerTed Lemon <source@isc.org>
Thu, 11 Jan 2001 23:14:11 +0000 (23:14 +0000)
common/parse.c

index be0311d37aad0d3bb1cb879d7a9d8e42e95b5242..22c325f6e698e1b157762132e2edabeff9e82655 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 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 */
 
 #include "dhcpd.h"
@@ -3697,6 +3697,30 @@ int parse_non_binary (expr, cfile, lose, context)
                known = YXRRSET;
                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:
                token = next_token (&val, cfile);
                token = next_token (&val, cfile);