summaryrefslogtreecommitdiff
path: root/common/conflex.c
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2007-06-08 14:58:20 +0000
committerDavid Hankins <dhankins@isc.org>2007-06-08 14:58:20 +0000
commit8da06bb1f533a76424324434b180c086f45a9cdb (patch)
tree2a3dd6b10aebba40457f86867c7d2bae4d8278e0 /common/conflex.c
parent627ad6d620ccd6317b2c0fa9e080c66e4de091e4 (diff)
downloadisc-dhcp-8da06bb1f533a76424324434b180c086f45a9cdb.tar.gz
- Compilation on HP/UX has been repaired. The changes should generally
apply to any architecture that supplies SIOCGLIFCONF but does not use 'struct lifconf' structures to pass values. [ISC-Bugs #16928]
Diffstat (limited to 'common/conflex.c')
-rw-r--r--common/conflex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/conflex.c b/common/conflex.c
index 4df35e24..b0620c7f 100644
--- a/common/conflex.c
+++ b/common/conflex.c
@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
-"$Id: conflex.c,v 1.109 2007/05/29 18:11:55 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
+"$Id: conflex.c,v 1.110 2007/06/08 14:58:20 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -919,7 +919,7 @@ static enum dhcp_token intern (atom, dfv)
if (!strcasecmp (atom + 1, "ot"))
return TOKEN_NOT;
if (!strcasecmp (atom + 1, "o"))
- return NO;
+ return TOKEN_NO;
if (!strcasecmp (atom + 1, "s-update"))
return NS_UPDATE;
if (!strcasecmp (atom + 1, "oerror"))
@@ -1071,7 +1071,7 @@ static enum dhcp_token intern (atom, dfv)
if (!strncasecmp(atom + 2, "rv", 2)) {
if (!strncasecmp(atom + 4, "er", 2)) {
if (atom[6] == '\0')
- return SERVER;
+ return TOKEN_SERVER;
if (atom[6] == '-') {
if (!strcasecmp(atom + 7,
"duid"))