]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add user and vendor class keywords
authorTed Lemon <source@isc.org>
Thu, 29 Feb 1996 18:06:29 +0000 (18:06 +0000)
committerTed Lemon <source@isc.org>
Thu, 29 Feb 1996 18:06:29 +0000 (18:06 +0000)
common/conflex.c
conflex.c

index 49da923c678100735aa7ed343871cf7489c04ad1..5b7a91ef8edbc01206ccc89e58115cfc0200bbbf 100644 (file)
@@ -342,6 +342,12 @@ static int intern (atom, dfv)
              case 'u':
                if (!strcasecmp (atom + 1, "id"))
                        return UID;
+               if (!strcasecmp (atom + 1, "ser-class"))
+                       return USER_CLASS;
+               break;
+             case 'v':
+               if (!strcasecmp (atom + 1, "endor-class"))
+                       return VENDOR_CLASS;
                break;
              case 'y':
                if (!strcasecmp (atom + 1, "iaddr"))
index 49da923c678100735aa7ed343871cf7489c04ad1..5b7a91ef8edbc01206ccc89e58115cfc0200bbbf 100644 (file)
--- a/conflex.c
+++ b/conflex.c
@@ -342,6 +342,12 @@ static int intern (atom, dfv)
              case 'u':
                if (!strcasecmp (atom + 1, "id"))
                        return UID;
+               if (!strcasecmp (atom + 1, "ser-class"))
+                       return USER_CLASS;
+               break;
+             case 'v':
+               if (!strcasecmp (atom + 1, "endor-class"))
+                       return VENDOR_CLASS;
                break;
              case 'y':
                if (!strcasecmp (atom + 1, "iaddr"))