summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
author"Robert P. J. Day"2006-06-26 22:03:43 +0000
committer"Robert P. J. Day"2006-06-26 22:03:43 +0000
commit21302c2b789352d9ab741f91c1ac2e4f5cd71c68 (patch)
treed97e617ef183b40b8f5a365d31bdd4c7fa7172f4 /networking
parent4137dd783b66d609ed033233bc2efad446c975c2 (diff)
downloadbusybox-21302c2b789352d9ab741f91c1ac2e4f5cd71c68.zip
busybox-21302c2b789352d9ab741f91c1ac2e4f5cd71c68.tar.gz
Properly print the output for a sit (IPv6-in-IPv4) interface.
Diffstat (limited to 'networking')
-rw-r--r--networking/interface.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/networking/interface.c b/networking/interface.c
index 4ad542d..a666c2e 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
};