summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-02-29 18:26:58 +0000
committerTed Lemon <source@isc.org>1996-02-29 18:26:58 +0000
commita285e681ea548d7a93e5ea24c828469d15f70ad0 (patch)
tree1923e3371a9b2b96b8162285c8afb73dd3341dd4
parent709f15cce4ac677f4c835e7a95eb338b75ab8852 (diff)
downloadisc-dhcp-a285e681ea548d7a93e5ea24c828469d15f70ad0.tar.gz
Add vendor and user class tokens
-rw-r--r--dhctoken.h4
-rw-r--r--includes/dhctoken.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/dhctoken.h b/dhctoken.h
index ac2639b0..9a69f2d2 100644
--- a/dhctoken.h
+++ b/dhctoken.h
@@ -72,8 +72,10 @@
#define NETMASK 279
#define DEFAULT_LEASE_TIME 280
#define MAX_LEASE_TIME 281
+#define VENDOR_CLASS 282
+#define USER_CLASS 283
-#define LAST_TOKEN MAX_LEASE_TIME
+#define LAST_TOKEN USER_CLASS
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
(x) <= LAST_TOKEN && \
diff --git a/includes/dhctoken.h b/includes/dhctoken.h
index ac2639b0..9a69f2d2 100644
--- a/includes/dhctoken.h
+++ b/includes/dhctoken.h
@@ -72,8 +72,10 @@
#define NETMASK 279
#define DEFAULT_LEASE_TIME 280
#define MAX_LEASE_TIME 281
+#define VENDOR_CLASS 282
+#define USER_CLASS 283
-#define LAST_TOKEN MAX_LEASE_TIME
+#define LAST_TOKEN USER_CLASS
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
(x) <= LAST_TOKEN && \