2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

Add vendor and user class tokens

This commit is contained in:
Ted Lemon 1996-02-29 18:26:58 +00:00
parent 709f15cce4
commit a285e681ea
2 changed files with 6 additions and 2 deletions

View File

@ -72,8 +72,10 @@
#define NETMASK 279 #define NETMASK 279
#define DEFAULT_LEASE_TIME 280 #define DEFAULT_LEASE_TIME 280
#define MAX_LEASE_TIME 281 #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 && \ #define is_identifier(x) ((x) >= FIRST_TOKEN && \
(x) <= LAST_TOKEN && \ (x) <= LAST_TOKEN && \

View File

@ -72,8 +72,10 @@
#define NETMASK 279 #define NETMASK 279
#define DEFAULT_LEASE_TIME 280 #define DEFAULT_LEASE_TIME 280
#define MAX_LEASE_TIME 281 #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 && \ #define is_identifier(x) ((x) >= FIRST_TOKEN && \
(x) <= LAST_TOKEN && \ (x) <= LAST_TOKEN && \