summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/config_route.c3
-rw-r--r--src/config/general.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index f063523c7..6596e951c 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -101,6 +101,9 @@ REQUIRE_OBJECT ( debugcon );
#ifdef NET_PROTO_IPV4
REQUIRE_OBJECT ( ipv4 );
#endif
+#ifdef NET_PROTO_IPV6
+REQUIRE_OBJECT ( ipv6 );
+#endif
/*
* Drag in all requested PXE support
diff --git a/src/config/config_route.c b/src/config/config_route.c
index c31d2dae0..33e18cdd3 100644
--- a/src/config/config_route.c
+++ b/src/config/config_route.c
@@ -22,3 +22,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#ifdef NET_PROTO_IPV4
REQUIRE_OBJECT ( route_ipv4 );
#endif
+#ifdef NET_PROTO_IPV6
+REQUIRE_OBJECT ( route_ipv6 );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index ae14ed3da..2e93efdee 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -40,6 +40,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#define NET_PROTO_IPV4 /* IPv4 protocol */
+#undef NET_PROTO_IPV6 /* IPv6 protocol */
#undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
/*