From: Michael Brown Date: Tue, 6 Dec 2011 13:54:45 +0000 (+0000) Subject: [dhcp] Add PXE-mandated DHCP options [128,135] to parameter request list X-Git-Tag: v1.20.1~2038 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8926c233f69cf0f8757ce3fad4232b2396ca7834;p=thirdparty%2Fipxe.git [dhcp] Add PXE-mandated DHCP options [128,135] to parameter request list The PXE specification requires us to request DHCP options 128 to 135 inclusive, although these have no defined purpose. Suggested-by: Ralf Buettner Signed-off-by: Michael Brown --- diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 682191f06..10482e94d 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -85,6 +85,7 @@ static uint8_t dhcp_request_options_data[] = { DHCP_LOG_SERVERS, DHCP_HOST_NAME, DHCP_DOMAIN_NAME, DHCP_ROOT_PATH, DHCP_VENDOR_ENCAP, DHCP_VENDOR_CLASS_ID, DHCP_TFTP_SERVER_NAME, DHCP_BOOTFILE_NAME, + 128, 129, 130, 131, 132, 133, 134, 135, /* for PXE */ DHCP_EB_ENCAP, DHCP_ISCSI_INITIATOR_IQN ), DHCP_END };