summaryrefslogtreecommitdiffstats
path: root/src/config/defaults/efi.h
diff options
context:
space:
mode:
authorTore Anderson2018-11-18 20:13:46 +0100
committerMichael Brown2020-10-14 15:51:29 +0200
commit0c25daad38b2b345fbe6c4838ea2d9c82cc08228 (patch)
tree265ba1e74e107fbf106598959cc560bdd3535814 /src/config/defaults/efi.h
parent[lacp] Ignore (and do not echo) trailing padding on received packets (diff)
downloadipxe-0c25daad38b2b345fbe6c4838ea2d9c82cc08228.tar.gz
ipxe-0c25daad38b2b345fbe6c4838ea2d9c82cc08228.tar.xz
ipxe-0c25daad38b2b345fbe6c4838ea2d9c82cc08228.zip
[efi] Enable NET_PROTO_IPV6 by default
IPv6 PXE was included in the UEFI specification over eight years ago, specifically in version 2.3 (Errata D). http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_3_D.pdf When iPXE is being chainloaded from a UEFI firmware performing a PXE boot in an IPv6 network, it is essential that iPXE supports IPv6 as well. I understand that the reason for NET_PROTO_IPV6 being disabled by default (in src/config/general.h) is that it would cause certain space-constrained build targets to become too large. However, this should not be an issue for EFI builds. It is also worth noting that RFC 6540 makes a clear recommendation that IPv6 support should not be considered optional. https://tools.ietf.org/html/rfc6540 Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Tore Anderson <tore@fud.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults/efi.h')
-rw-r--r--src/config/defaults/efi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 4ae6a316..0979887f 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -24,6 +24,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define ACPI_EFI
#define FDT_EFI
+#define NET_PROTO_IPV6 /* IPv6 protocol */
+
#define DOWNLOAD_PROTO_FILE /* Local filesystem access */
#define IMAGE_EFI /* EFI image support */