]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add 'deleted' keyword
authorTed Lemon <source@isc.org>
Thu, 9 Sep 1999 23:25:29 +0000 (23:25 +0000)
committerTed Lemon <source@isc.org>
Thu, 9 Sep 1999 23:25:29 +0000 (23:25 +0000)
common/conflex.c
includes/dhctoken.h

index e504a50ca6bfa4f674b8c775f9ffd054a525bf21..7f6b7f2d1c868c4fa5c11e9d11e62863bec19e8b 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.53 1999/09/08 01:45:34 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: conflex.c,v 1.54 1999/09/09 23:25:27 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -420,6 +420,8 @@ static enum dhcp_token intern (atom, dfv)
                        return DOMAIN;
                if (!strcasecmp (atom + 1, "eny"))
                        return DENY;
+               if (!strcasecmp (atom + 1, "eleted"))
+                       return DELETED;
                if (!strncasecmp (atom + 1, "efault", 6)) {
                        if (!atom [7])
                                return DEFAULT;
index 8927d7cdf9922c3cbbad1b3e171dc8842d99f5e5..473b4b954a9a580ffff39d3d400189a872b3e1c9 100644 (file)
@@ -196,6 +196,7 @@ enum dhcp_token {
        STATIC = 414,
        NEVER = 415,
        INFINITE = 416,
+       DELETED = 417,
 };
 
 #define is_identifier(x)       ((x) >= FIRST_TOKEN &&  \