diff options
| author | Michael Brown | 2006-08-27 03:37:58 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-08-27 03:37:58 +0200 |
| commit | cab3f4502b42031b08912092e92058c639ee27bb (patch) | |
| tree | 1034a6fb844fc67831f6bc3b66e39f7fff347113 /src | |
| parent | Added support for INT 13,15; NTLDR calls it (though it may not (diff) | |
| download | ipxe-cab3f4502b42031b08912092e92058c639ee27bb.tar.gz ipxe-cab3f4502b42031b08912092e92058c639ee27bb.tar.xz ipxe-cab3f4502b42031b08912092e92058c639ee27bb.zip | |
Correct option number for DHCP_DNS_SERVERS, and add it to the request
list.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/gpxe/dhcp.h | 2 | ||||
| -rw-r--r-- | src/net/udp/dhcp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 10e423190..79df5fc7c 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -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 diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index cd8a159e4..af32f2131 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -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 }; |
