mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Take mandatory options out of default priority list; add user class identifier
This commit is contained in:
parent
ee56203f88
commit
1672a2bd0b
@ -126,7 +126,7 @@ struct option dhcp_options [256] = {
|
||||
{ "dhcp-renewal-time", "L", &dhcp_universe, 58 },
|
||||
{ "dhcp-rebinding-time", "L", &dhcp_universe, 59 },
|
||||
{ "dhcp-class-identifier", "t", &dhcp_universe, 60 },
|
||||
{ "dhcp-client-identifier", "t", &dhcp_universe, 61 },
|
||||
{ "dhcp-client-identifier", "BA", &dhcp_universe, 61 },
|
||||
{ "option-62", "", &dhcp_universe, 62 },
|
||||
{ "option-63", "", &dhcp_universe, 63 },
|
||||
{ "option-64", "", &dhcp_universe, 64 },
|
||||
@ -142,7 +142,7 @@ struct option dhcp_options [256] = {
|
||||
{ "option-74", "", &dhcp_universe, 74 },
|
||||
{ "option-75", "", &dhcp_universe, 75 },
|
||||
{ "option-76", "", &dhcp_universe, 76 },
|
||||
{ "option-77", "", &dhcp_universe, 77 },
|
||||
{ "dhcp-user-class-identifier", "t", &dhcp_universe, 77 },
|
||||
{ "option-78", "", &dhcp_universe, 78 },
|
||||
{ "option-79", "", &dhcp_universe, 79 },
|
||||
{ "option-80", "", &dhcp_universe, 80 },
|
||||
@ -327,11 +327,7 @@ struct option dhcp_options [256] = {
|
||||
mistaken for a carefully crafted and optimized list). */
|
||||
unsigned char dhcp_option_default_priority_list [] = {
|
||||
DHO_DHCP_REQUESTED_ADDRESS,
|
||||
DHO_DHCP_LEASE_TIME,
|
||||
DHO_DHCP_MESSAGE_TYPE,
|
||||
DHO_DHCP_OPTION_OVERLOAD,
|
||||
DHO_DHCP_SERVER_IDENTIFIER,
|
||||
DHO_DHCP_MESSAGE,
|
||||
DHO_DHCP_MAX_MESSAGE_SIZE,
|
||||
DHO_DHCP_RENEWAL_TIME,
|
||||
DHO_DHCP_REBINDING_TIME,
|
||||
|
8
tables.c
8
tables.c
@ -126,7 +126,7 @@ struct option dhcp_options [256] = {
|
||||
{ "dhcp-renewal-time", "L", &dhcp_universe, 58 },
|
||||
{ "dhcp-rebinding-time", "L", &dhcp_universe, 59 },
|
||||
{ "dhcp-class-identifier", "t", &dhcp_universe, 60 },
|
||||
{ "dhcp-client-identifier", "t", &dhcp_universe, 61 },
|
||||
{ "dhcp-client-identifier", "BA", &dhcp_universe, 61 },
|
||||
{ "option-62", "", &dhcp_universe, 62 },
|
||||
{ "option-63", "", &dhcp_universe, 63 },
|
||||
{ "option-64", "", &dhcp_universe, 64 },
|
||||
@ -142,7 +142,7 @@ struct option dhcp_options [256] = {
|
||||
{ "option-74", "", &dhcp_universe, 74 },
|
||||
{ "option-75", "", &dhcp_universe, 75 },
|
||||
{ "option-76", "", &dhcp_universe, 76 },
|
||||
{ "option-77", "", &dhcp_universe, 77 },
|
||||
{ "dhcp-user-class-identifier", "t", &dhcp_universe, 77 },
|
||||
{ "option-78", "", &dhcp_universe, 78 },
|
||||
{ "option-79", "", &dhcp_universe, 79 },
|
||||
{ "option-80", "", &dhcp_universe, 80 },
|
||||
@ -327,11 +327,7 @@ struct option dhcp_options [256] = {
|
||||
mistaken for a carefully crafted and optimized list). */
|
||||
unsigned char dhcp_option_default_priority_list [] = {
|
||||
DHO_DHCP_REQUESTED_ADDRESS,
|
||||
DHO_DHCP_LEASE_TIME,
|
||||
DHO_DHCP_MESSAGE_TYPE,
|
||||
DHO_DHCP_OPTION_OVERLOAD,
|
||||
DHO_DHCP_SERVER_IDENTIFIER,
|
||||
DHO_DHCP_MESSAGE,
|
||||
DHO_DHCP_MAX_MESSAGE_SIZE,
|
||||
DHO_DHCP_RENEWAL_TIME,
|
||||
DHO_DHCP_REBINDING_TIME,
|
||||
|
Loading…
x
Reference in New Issue
Block a user