]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add encode-int
authorTed Lemon <source@isc.org>
Thu, 27 May 1999 12:39:22 +0000 (12:39 +0000)
committerTed Lemon <source@isc.org>
Thu, 27 May 1999 12:39:22 +0000 (12:39 +0000)
common/conflex.c

index 0584c5f2133de88a5960d35ff182e51ddb110b05..daf0e9c556d2741f70461cd476450aeb7a9eedca 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.44 1999/05/06 20:13:31 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: conflex.c,v 1.45 1999/05/27 12:39:22 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -433,6 +433,8 @@ static enum dhcp_token intern (atom, dfv)
                if (isascii (atom [1]) && tolower (atom [1]) == 'x') {
                        if (!strcasecmp (atom + 2, "tract-int"))
                                return EXTRACT_INT;
+                       if (!strcasecmp (atom + 2, "ncode-int"))
+                               return ENCODE_INT;
                        if (!strcasecmp (atom + 2, "ists"))
                                return EXISTS;
                }