[gPXE-devel] [PATCH 31/31] [ipv6] disable ipv6 commands if ipv6 is disabled

matthew at theiselins.net matthew at theiselins.net
Fri Jul 8 10:28:40 EDT 2011


From: Matthew Iselin <matthew at theiselins.net>

---
 src/config/general.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/config/general.h b/src/config/general.h
index 0bb364e..27247e2 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -121,7 +121,9 @@ FILE_LICENCE ( GPL2_OR_LATER );
 #undef	TIME_CMD		/* Time commands */
 #undef	DIGEST_CMD		/* Image crypto digest commands */
 //#undef	PXE_CMD			/* PXE commands */
+#ifdef NET_PROTO_IPV6
 #define IPV6_CMD		/* IPv6 commands */
+#endif
 
 /*
  * Error message tables to include
-- 
1.7.2.5



More information about the gPXE-devel mailing list