Sfoglia il codice sorgente

[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 <rab@bootix.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 anni fa
parent
commit
8926c233f6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/net/udp/dhcp.c

+ 1
- 0
src/net/udp/dhcp.c Vedi File

@@ -85,6 +85,7 @@ static uint8_t dhcp_request_options_data[] = {
85 85
 		      DHCP_LOG_SERVERS, DHCP_HOST_NAME, DHCP_DOMAIN_NAME,
86 86
 		      DHCP_ROOT_PATH, DHCP_VENDOR_ENCAP, DHCP_VENDOR_CLASS_ID,
87 87
 		      DHCP_TFTP_SERVER_NAME, DHCP_BOOTFILE_NAME,
88
+		      128, 129, 130, 131, 132, 133, 134, 135, /* for PXE */
88 89
 		      DHCP_EB_ENCAP, DHCP_ISCSI_INITIATOR_IQN ),
89 90
 	DHCP_END
90 91
 };

Loading…
Annulla
Salva