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:
parent
709f15cce4
commit
a285e681ea
@ -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 && \
|
||||||
|
@ -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 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user