]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add client-state keyword.
authorTed Lemon <source@isc.org>
Tue, 28 Nov 2000 22:11:52 +0000 (22:11 +0000)
committerTed Lemon <source@isc.org>
Tue, 28 Nov 2000 22:11:52 +0000 (22:11 +0000)
common/conflex.c

index 5b30702834c6c11fe3614ea4184c0f504479b993..541ad516058997017a21191b6e014e7362a5a58b 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.82 2000/10/10 22:05:53 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$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";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -561,6 +561,8 @@ static enum dhcp_token intern (atom, dfv)
                                return CLIENT_IDENTIFIER;
                        if (!strcasecmp (atom + 6, "-hostname"))
                                return CLIENT_HOSTNAME;
+                       if (!strcasecmp (atom + 6, "-state"))
+                               return CLIENT_STATE;
                        if (!strcasecmp (atom + 6, "s"))
                                return CLIENTS;
                }