mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
add new tokens; lose LAST_TOKEN
This commit is contained in:
@@ -75,10 +75,11 @@
|
|||||||
#define MAX_LEASE_TIME 281
|
#define MAX_LEASE_TIME 281
|
||||||
#define VENDOR_CLASS 282
|
#define VENDOR_CLASS 282
|
||||||
#define USER_CLASS 283
|
#define USER_CLASS 283
|
||||||
|
#define SHARED_NETWORK 284
|
||||||
#define LAST_TOKEN USER_CLASS
|
#define SERVER_NAME 285
|
||||||
|
#define DYNAMIC_BOOTP 286
|
||||||
|
#define SERVER_IDENTIFIER 287
|
||||||
|
|
||||||
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
||||||
(x) <= LAST_TOKEN && \
|
|
||||||
(x) != STRING && \
|
(x) != STRING && \
|
||||||
(x) != NUMBER)
|
(x) != NUMBER)
|
||||||
|
@@ -75,10 +75,11 @@
|
|||||||
#define MAX_LEASE_TIME 281
|
#define MAX_LEASE_TIME 281
|
||||||
#define VENDOR_CLASS 282
|
#define VENDOR_CLASS 282
|
||||||
#define USER_CLASS 283
|
#define USER_CLASS 283
|
||||||
|
#define SHARED_NETWORK 284
|
||||||
#define LAST_TOKEN USER_CLASS
|
#define SERVER_NAME 285
|
||||||
|
#define DYNAMIC_BOOTP 286
|
||||||
|
#define SERVER_IDENTIFIER 287
|
||||||
|
|
||||||
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
||||||
(x) <= LAST_TOKEN && \
|
|
||||||
(x) != STRING && \
|
(x) != STRING && \
|
||||||
(x) != NUMBER)
|
(x) != NUMBER)
|
||||||
|
Reference in New Issue
Block a user