aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/interface.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/networking/interface.c b/networking/interface.c
index 4ad542d14..a666c2ef4 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -771,11 +771,24 @@ static const struct hwtype ppp_hwtype = {
.type = ARPHRD_PPP
};
+#ifdef CONFIG_FEATURE_IPV6
+static const struct hwtype sit_hwtype = {
+ .name = "sit",
+ .title = "IPv6-in-IPv4",
+ .type = ARPHRD_SIT,
+ .print = UNSPEC_print,
+ .suppress_null_addr = 1
+} ;
+#endif
+
static const struct hwtype * const hwtypes[] = {
&loop_hwtype,
&ether_hwtype,
&ppp_hwtype,
&unspec_hwtype,
+#ifdef CONFIG_FEATURE_IPV6
+ &sit_hwtype,
+#endif
NULL
};