]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add client state keywords.
authorTed Lemon <source@isc.org>
Tue, 5 Dec 2000 07:12:18 +0000 (07:12 +0000)
committerTed Lemon <source@isc.org>
Tue, 5 Dec 2000 07:12:18 +0000 (07:12 +0000)
common/conflex.c

index 541ad516058997017a21191b6e014e7362a5a58b..13add9d497b4b1b3c5009a0b241eca1d8cba2c09 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.83 2000/11/28 22:11:52 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: conflex.c,v 1.84 2000/12/05 07:12:18 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -540,6 +540,8 @@ static enum dhcp_token intern (atom, dfv)
                        return BOOLEAN;
                if (!strcasecmp (atom + 1, "alance"))
                        return BALANCE;
+               if (!strcasecmp (atom + 1, "ound"))
+                       return BOUND;
                break;
              case 'c':
                if (!strcasecmp (atom + 1, "ase"))
@@ -860,6 +862,8 @@ static enum dhcp_token intern (atom, dfv)
                        return RECOVER;
                if (!strcasecmp (atom + 1, "ecover-done"))
                        return RECOVER_DONE;
+               if (!strcasecmp (atom + 1, "econtact-interval"))
+                       return RECONTACT_INTERVAL;
                if (!strcasecmp (atom + 1, "equest"))
                        return REQUEST;
                if (!strcasecmp (atom + 1, "equire"))
@@ -922,6 +926,8 @@ static enum dhcp_token intern (atom, dfv)
                        return SERVER_IDENTIFIER;
                if (!strcasecmp (atom + 1, "elect-timeout"))
                        return SELECT_TIMEOUT;
+               if (!strcasecmp (atom + 1, "elect"))
+                       return SELECT;
                if (!strcasecmp (atom + 1, "end"))
                        return SEND;
                if (!strcasecmp (atom + 1, "cript"))