]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add client-updates keyword.
authorTed Lemon <source@isc.org>
Thu, 11 Jan 2001 23:13:27 +0000 (23:13 +0000)
committerTed Lemon <source@isc.org>
Thu, 11 Jan 2001 23:13:27 +0000 (23:13 +0000)
common/conflex.c
includes/dhctoken.h

index 13add9d497b4b1b3c5009a0b241eca1d8cba2c09..f1251e7285a6b13dacf001a2c365fb8b668479c6 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$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";
+"$Id: conflex.c,v 1.85 2001/01/11 23:13:24 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -565,6 +565,8 @@ static enum dhcp_token intern (atom, dfv)
                                return CLIENT_HOSTNAME;
                        if (!strcasecmp (atom + 6, "-state"))
                                return CLIENT_STATE;
+                       if (!strcasecmp (atom + 6, "-updates"))
+                               return CLIENT_UPDATES;
                        if (!strcasecmp (atom + 6, "s"))
                                return CLIENTS;
                }
index d0d6f3276782313d9e73b18f3b8442e6fe1fd787..ef5d2db2a883c1954f32c05faf6d2b5aec038c64 100644 (file)
@@ -301,7 +301,8 @@ enum dhcp_token {
        BOUND = 597,
        RENEWING = 598,
        REBINDING = 599,
-       RECONTACT_INTERVAL = 600
+       RECONTACT_INTERVAL = 600,
+       CLIENT_UPDATES = 601
 };
 
 #define is_identifier(x)       ((x) >= FIRST_TOKEN &&  \