]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add billing limitation tokens
authorTed Lemon <source@isc.org>
Wed, 11 Nov 1998 07:50:06 +0000 (07:50 +0000)
committerTed Lemon <source@isc.org>
Wed, 11 Nov 1998 07:50:06 +0000 (07:50 +0000)
common/conflex.c

index d71f401efb71d09edbb750a811b208cfba8aaf2e..eafaae5fadc74143571600da2326d591abf58f44 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.35 1998/11/09 02:44:14 mellon Exp $ Copyright (c) 1995, 1996, 1997 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: conflex.c,v 1.36 1998/11/11 07:50:06 mellon Exp $ Copyright (c) 1995, 1996, 1997 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -382,6 +382,8 @@ static int intern (atom, dfv)
                        return BOOT_UNKNOWN_CLIENTS;
                if (!strcasecmp (atom + 1, "reak"))
                        return BREAK;
+               if (!strcasecmp (atom + 1, "illing"))
+                       return BILLING;
                break;
              case 'c':
                if (!strcasecmp (atom + 1, "heck"))
@@ -479,6 +481,8 @@ static int intern (atom, dfv)
              case 'l':
                if (!strcasecmp (atom + 1, "ease"))
                        return LEASE;
+               if (!strcasecmp (atom + 1, "imit"))
+                       return LIMIT;
                break;
              case 'm':
                if (!strcasecmp (atom + 1, "ax-lease-time"))