]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[dhcp] Add PXE-mandated DHCP options [128,135] to parameter request list
authorMichael Brown <mcb30@ipxe.org>
Tue, 6 Dec 2011 13:54:45 +0000 (13:54 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 6 Dec 2011 13:54:45 +0000 (13:54 +0000)
The PXE specification requires us to request DHCP options 128 to 135
inclusive, although these have no defined purpose.

Suggested-by: Ralf Buettner <rab@bootix.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/udp/dhcp.c

index 682191f0692085e42f202d30b5eb18a549266b12..10482e94ddc515bf1dc838981922164c5dd4931f 100644 (file)
@@ -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
 };