From: Ted Lemon Date: Thu, 29 Feb 1996 18:06:29 +0000 (+0000) Subject: Add user and vendor class keywords X-Git-Tag: SS960301~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e3a2205af411fdfdde8cd24ace0fcf93b3c51f;p=thirdparty%2Fdhcp.git Add user and vendor class keywords --- diff --git a/common/conflex.c b/common/conflex.c index 49da923c6..5b7a91ef8 100644 --- a/common/conflex.c +++ b/common/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")) diff --git a/conflex.c b/conflex.c index 49da923c6..5b7a91ef8 100644 --- 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"))