mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
Rework DHCP lease state handling to be compatible with failover protocol.
This commit is contained in:
@@ -114,7 +114,6 @@ enum dhcp_token {
|
||||
EXPIRE = 308,
|
||||
UNKNOWN_CLIENTS = 309,
|
||||
ALLOW = 310,
|
||||
BOOTP = 311,
|
||||
DENY = 312,
|
||||
BOOTING = 313,
|
||||
DEFAULT = 314,
|
||||
@@ -122,7 +121,7 @@ enum dhcp_token {
|
||||
MEDIUM = 316,
|
||||
ALIAS = 317,
|
||||
REBOOT = 318,
|
||||
ABANDONED = 319,
|
||||
TOKEN_ABANDONED = 319,
|
||||
BACKOFF_CUTOFF = 320,
|
||||
INITIAL_INTERVAL = 321,
|
||||
NAMESERVER = 322,
|
||||
@@ -216,7 +215,7 @@ enum dhcp_token {
|
||||
STATIC = 414,
|
||||
NEVER = 415,
|
||||
INFINITE = 416,
|
||||
DELETED = 417,
|
||||
TOKEN_DELETED = 417,
|
||||
UPDATED_DNS_RR = 418,
|
||||
DNS_DELETE = 419,
|
||||
DUPLICATES = 420,
|
||||
@@ -268,7 +267,17 @@ enum dhcp_token {
|
||||
STATE = 466,
|
||||
UNKNOWN_STATE = 567,
|
||||
CLTT = 568,
|
||||
INCLUDE = 569
|
||||
INCLUDE = 569,
|
||||
BINDING = 570,
|
||||
TOKEN_FREE = 571,
|
||||
TOKEN_ACTIVE = 572,
|
||||
TOKEN_EXPIRED = 573,
|
||||
TOKEN_RELEASED = 574,
|
||||
TOKEN_RESET = 575,
|
||||
TOKEN_BACKUP = 576,
|
||||
TOKEN_RESERVED = 577,
|
||||
TOKEN_BOOTP = 578,
|
||||
TOKEN_NEXT = 579,
|
||||
};
|
||||
|
||||
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
|
||||
|
Reference in New Issue
Block a user