mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
Add 'omapi' keyword
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: conflex.c,v 1.76 2000/06/02 21:27:01 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: conflex.c,v 1.77 2000/06/24 06:17:52 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -793,6 +793,8 @@ static enum dhcp_token intern (atom, dfv)
|
|||||||
return TOKEN_NEXT;
|
return TOKEN_NEXT;
|
||||||
break;
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
|
if (!strcasecmp (atom + 1, "mapi"))
|
||||||
|
return OMAPI;
|
||||||
if (!strcasecmp (atom + 1, "r"))
|
if (!strcasecmp (atom + 1, "r"))
|
||||||
return OR;
|
return OR;
|
||||||
if (!strcasecmp (atom + 1, "n"))
|
if (!strcasecmp (atom + 1, "n"))
|
||||||
|
@@ -278,6 +278,7 @@ enum dhcp_token {
|
|||||||
TOKEN_RESERVED = 577,
|
TOKEN_RESERVED = 577,
|
||||||
TOKEN_BOOTP = 578,
|
TOKEN_BOOTP = 578,
|
||||||
TOKEN_NEXT = 579,
|
TOKEN_NEXT = 579,
|
||||||
|
OMAPI = 580
|
||||||
};
|
};
|
||||||
|
|
||||||
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
||||||
|
Reference in New Issue
Block a user