]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Intern lease-time token correctly.
authorTed Lemon <source@isc.org>
Mon, 19 Jul 1999 15:32:54 +0000 (15:32 +0000)
committerTed Lemon <source@isc.org>
Mon, 19 Jul 1999 15:32:54 +0000 (15:32 +0000)
common/conflex.c

index 08f89b873eae3f6d8ef9f22c74ee001522ab5412..2ffc404aea4164c8a6d84a3e2638c186c9237eb4 100644 (file)
@@ -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;