]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add 'omapi' keyword
authorTed Lemon <source@isc.org>
Sat, 24 Jun 2000 06:17:55 +0000 (06:17 +0000)
committerTed Lemon <source@isc.org>
Sat, 24 Jun 2000 06:17:55 +0000 (06:17 +0000)
common/conflex.c
includes/dhctoken.h

index 5d23d9f2253fa2c42cbbc857c282758ef7cb0814..eeb0b0bd314f1c03b91fb23c7fd46cbfc659f570 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: conflex.c,v 1.76 2000/06/02 21:27:01 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: conflex.c,v 1.77 2000/06/24 06:17:52 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -793,6 +793,8 @@ static enum dhcp_token intern (atom, dfv)
                        return TOKEN_NEXT;
                break;
              case 'o':
+               if (!strcasecmp (atom + 1, "mapi"))
+                       return OMAPI;
                if (!strcasecmp (atom + 1, "r"))
                        return OR;
                if (!strcasecmp (atom + 1, "n"))
index 98042d484374f689ebb8b38ed3ccb8aa4dd3610a..5330074fb148921edc81d3613d2f8e7e12dc55dc 100644 (file)
@@ -278,6 +278,7 @@ enum dhcp_token {
        TOKEN_RESERVED = 577,
        TOKEN_BOOTP = 578,
        TOKEN_NEXT = 579,
+       OMAPI = 580
 };
 
 #define is_identifier(x)       ((x) >= FIRST_TOKEN &&  \