summaryrefslogtreecommitdiff
path: root/common/conflex.c
diff options
context:
space:
mode:
authorDamien Neil <source@isc.org>2000-08-22 21:51:39 +0000
committerDamien Neil <source@isc.org>2000-08-22 21:51:39 +0000
commite7a9c2939025133a1cfb250a7547637c1058340f (patch)
tree6d4f4c3c8b5cbec9d7ea8eb0dc1aa74dc089c7c1 /common/conflex.c
parent2541d057039e2afcb6a43eb7f4e06c9b376a5325 (diff)
downloadisc-dhcp-e7a9c2939025133a1cfb250a7547637c1058340f.tar.gz
Added log() statement to allow logging from config files.
Diffstat (limited to 'common/conflex.c')
-rw-r--r--common/conflex.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/common/conflex.c b/common/conflex.c
index eeb0b0bd..0315a133 100644
--- a/common/conflex.c
+++ b/common/conflex.c
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$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";
+"$Id: conflex.c,v 1.78 2000/08/22 21:51:27 neild Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -578,6 +578,8 @@ static enum dhcp_token intern (atom, dfv)
return DNS_DELETE;
if (!strcasecmp (atom + 1, "omain"))
return DOMAIN;
+ if (!strcasecmp (atom + 1, "ebug"))
+ return TOKEN_DEBUG;
if (!strcasecmp (atom + 1, "eny"))
return DENY;
if (!strcasecmp (atom + 1, "eleted"))
@@ -641,10 +643,14 @@ static enum dhcp_token intern (atom, dfv)
return ELSIF;
break;
}
+ if (!strcasecmp (atom + 1, "rror"))
+ return ERROR;
if (!strcasecmp (atom + 1, "val"))
return EVAL;
break;
case 'f':
+ if (!strcasecmp (atom + 1, "atal"))
+ return FATAL;
if (!strcasecmp (atom + 1, "ilename"))
return FILENAME;
if (!strcasecmp (atom + 1, "ixed-address"))
@@ -687,6 +693,8 @@ static enum dhcp_token intern (atom, dfv)
return INTEGER;
if (!strcasecmp (atom + 1, "nfinite"))
return INFINITE;
+ if (!strcasecmp (atom + 1, "nfo"))
+ return INFO;
if (!strcasecmp (atom + 1, "p-address"))
return IP_ADDRESS;
if (!strcasecmp (atom + 1, "nitial-interval"))
@@ -721,6 +729,8 @@ static enum dhcp_token intern (atom, dfv)
return LET;
if (!strcasecmp (atom + 1, "oad"))
return LOAD;
+ if (!strcasecmp (atom + 1, "og"))
+ return LOG;
break;
case 'm':
if (!strncasecmp (atom + 1, "ax", 2)) {