mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-11 10:17:49 +00:00
Correct option number for DHCP_DNS_SERVERS, and add it to the request
list.
This commit is contained in:
parent
5a54225aef
commit
cab3f4502b
@ -57,7 +57,7 @@
|
||||
#define DHCP_ROUTERS 3
|
||||
|
||||
/** DNS servers */
|
||||
#define DHCP_DNS_SERVERS 4
|
||||
#define DHCP_DNS_SERVERS 6
|
||||
|
||||
/** Host name */
|
||||
#define DHCP_HOST_NAME 12
|
||||
|
@ -55,7 +55,7 @@ static uint8_t dhcp_request_options_data[] = {
|
||||
DHCP_STRING ( 'E', 't', 'h', 'e', 'r', 'b', 'o', 'o', 't' ),
|
||||
DHCP_PARAMETER_REQUEST_LIST,
|
||||
DHCP_OPTION ( DHCP_SUBNET_MASK, DHCP_ROUTERS, DHCP_HOST_NAME,
|
||||
DHCP_BOOTFILE_NAME, DHCP_EB_ENCAP ),
|
||||
DHCP_BOOTFILE_NAME, DHCP_DNS_SERVERS, DHCP_EB_ENCAP ),
|
||||
DHCP_END
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user