From: Ted Lemon Date: Mon, 19 Jul 1999 15:32:54 +0000 (+0000) Subject: Intern lease-time token correctly. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71a344775d2995fc62d98e8bf5ef1f64f841c4b7;p=thirdparty%2Fdhcp.git Intern lease-time token correctly. --- diff --git a/common/conflex.c b/common/conflex.c index 08f89b873..2ffc404ae 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: conflex.c,v 1.50 1999/07/19 01:15:10 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: conflex.c,v 1.51 1999/07/19 15:32:54 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -515,7 +515,7 @@ static enum dhcp_token intern (atom, dfv) return LEASE; if (!strcasecmp (atom + 1, "eased-address")) return LEASED_ADDRESS; - if (!strcasecmp (atom + 1, "lease-time")) + if (!strcasecmp (atom + 1, "ease-time")) return LEASE_TIME; if (!strcasecmp (atom + 1, "imit")) return LIMIT;