2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

Add 'deleted' keyword

This commit is contained in:
Ted Lemon 1999-09-09 23:25:29 +00:00
parent 36c6e2b61b
commit 07dc11f8dc
2 changed files with 4 additions and 1 deletions

View 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;

View File

@ -196,6 +196,7 @@ enum dhcp_token {
STATIC = 414,
NEVER = 415,
INFINITE = 416,
DELETED = 417,
};
#define is_identifier(x) ((x) >= FIRST_TOKEN && \