mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 13:57:50 +00:00
Add 'deleted' keyword
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -420,6 +420,8 @@ static enum dhcp_token intern (atom, dfv)
|
|||||||
return DOMAIN;
|
return DOMAIN;
|
||||||
if (!strcasecmp (atom + 1, "eny"))
|
if (!strcasecmp (atom + 1, "eny"))
|
||||||
return DENY;
|
return DENY;
|
||||||
|
if (!strcasecmp (atom + 1, "eleted"))
|
||||||
|
return DELETED;
|
||||||
if (!strncasecmp (atom + 1, "efault", 6)) {
|
if (!strncasecmp (atom + 1, "efault", 6)) {
|
||||||
if (!atom [7])
|
if (!atom [7])
|
||||||
return DEFAULT;
|
return DEFAULT;
|
||||||
|
@@ -196,6 +196,7 @@ enum dhcp_token {
|
|||||||
STATIC = 414,
|
STATIC = 414,
|
||||||
NEVER = 415,
|
NEVER = 415,
|
||||||
INFINITE = 416,
|
INFINITE = 416,
|
||||||
|
DELETED = 417,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
||||||
|
Reference in New Issue
Block a user