]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add 'zone' keyword.
authorTed Lemon <source@isc.org>
Mon, 6 Mar 2000 20:08:05 +0000 (20:08 +0000)
committerTed Lemon <source@isc.org>
Mon, 6 Mar 2000 20:08:05 +0000 (20:08 +0000)
common/conflex.c

index 097aee5e4377db1313b87d9b10877e3e3d705a0b..00d08815794d84e396ebb3d7a060c22f4937cd9a 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.67 2000/02/15 19:40:34 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: conflex.c,v 1.68 2000/03/06 20:08:05 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -928,6 +928,10 @@ static enum dhcp_token intern (atom, dfv)
                if (!strcasecmp (atom + 1, "xrrset"))
                        return NS_YXRRSET;
                break;
+             case 'z':
+               if (!strcasecmp (atom + 1, "one"))
+                       return ZONE;
+               break;
        }
        return dfv;
 }