From 07dc11f8dcbc8abd8011143a5e974df37bc5556e Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 9 Sep 1999 23:25:29 +0000 Subject: [PATCH] Add 'deleted' keyword --- common/conflex.c | 4 +++- includes/dhctoken.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common/conflex.c b/common/conflex.c index e504a50c..7f6b7f2d 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 8927d7cd..473b4b95 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 && \