From: Ted Lemon Date: Thu, 9 Sep 1999 23:25:29 +0000 (+0000) Subject: Add 'deleted' keyword X-Git-Tag: V3-BETA-1-PATCH-2~5^2~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07dc11f8dcbc8abd8011143a5e974df37bc5556e;p=thirdparty%2Fdhcp.git Add 'deleted' keyword --- diff --git a/common/conflex.c b/common/conflex.c index e504a50ca..7f6b7f2d1 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -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; diff --git a/includes/dhctoken.h b/includes/dhctoken.h index 8927d7cdf..473b4b954 100644 --- a/includes/dhctoken.h +++ b/includes/dhctoken.h @@ -196,6 +196,7 @@ enum dhcp_token { STATIC = 414, NEVER = 415, INFINITE = 416, + DELETED = 417, }; #define is_identifier(x) ((x) >= FIRST_TOKEN && \