From: Ted Lemon Date: Tue, 5 Dec 2000 07:12:18 +0000 (+0000) Subject: Add client state keywords. X-Git-Tag: V3-BETA-2-PATCH-12~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf199463634d10074d29f13c6649c39c7fce73e4;p=thirdparty%2Fdhcp.git Add client state keywords. --- diff --git a/common/conflex.c b/common/conflex.c index 541ad5160..13add9d49 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: conflex.c,v 1.83 2000/11/28 22:11:52 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: conflex.c,v 1.84 2000/12/05 07:12:18 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -540,6 +540,8 @@ static enum dhcp_token intern (atom, dfv) return BOOLEAN; if (!strcasecmp (atom + 1, "alance")) return BALANCE; + if (!strcasecmp (atom + 1, "ound")) + return BOUND; break; case 'c': if (!strcasecmp (atom + 1, "ase")) @@ -860,6 +862,8 @@ static enum dhcp_token intern (atom, dfv) return RECOVER; if (!strcasecmp (atom + 1, "ecover-done")) return RECOVER_DONE; + if (!strcasecmp (atom + 1, "econtact-interval")) + return RECONTACT_INTERVAL; if (!strcasecmp (atom + 1, "equest")) return REQUEST; if (!strcasecmp (atom + 1, "equire")) @@ -922,6 +926,8 @@ static enum dhcp_token intern (atom, dfv) return SERVER_IDENTIFIER; if (!strcasecmp (atom + 1, "elect-timeout")) return SELECT_TIMEOUT; + if (!strcasecmp (atom + 1, "elect")) + return SELECT; if (!strcasecmp (atom + 1, "end")) return SEND; if (!strcasecmp (atom + 1, "cript"))