]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add 'new' token
authorTed Lemon <source@isc.org>
Tue, 16 Jan 2001 22:50:05 +0000 (22:50 +0000)
committerTed Lemon <source@isc.org>
Tue, 16 Jan 2001 22:50:05 +0000 (22:50 +0000)
common/conflex.c
includes/dhctoken.h

index f1251e7285a6b13dacf001a2c365fb8b668479c6..df7a0625176700f7144bc2113c40c315fde6e13d 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$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";
+"$Id: conflex.c,v 1.86 2001/01/16 22:50:02 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -809,6 +809,8 @@ static enum dhcp_token intern (atom, dfv)
                        return TOKEN_NULL;
                if (!strcasecmp (atom + 1, "ext"))
                        return TOKEN_NEXT;
+               if (!strcasecmp (atom + 1, "ew"))
+                       return TOKEN_NEW;
                break;
              case 'o':
                if (!strcasecmp (atom + 1, "mapi"))
index ef5d2db2a883c1954f32c05faf6d2b5aec038c64..7dab55c7893545b6eacb10a279836df6b82cfc8b 100644 (file)
@@ -302,7 +302,8 @@ enum dhcp_token {
        RENEWING = 598,
        REBINDING = 599,
        RECONTACT_INTERVAL = 600,
-       CLIENT_UPDATES = 601
+       CLIENT_UPDATES = 601,
+       TOKEN_NEW
 };
 
 #define is_identifier(x)       ((x) >= FIRST_TOKEN &&  \