svn commit: trunk/busybox/networking
rpjday at busybox.net
rpjday at busybox.net
Mon Jun 26 22:03:44 UTC 2006
Author: rpjday
Date: 2006-06-26 15:03:43 -0700 (Mon, 26 Jun 2006)
New Revision: 15522
Log:
Properly print the output for a sit (IPv6-in-IPv4) interface.
Modified:
trunk/busybox/networking/interface.c
Changeset:
Modified: trunk/busybox/networking/interface.c
===================================================================
--- trunk/busybox/networking/interface.c 2006-06-26 21:54:57 UTC (rev 15521)
+++ trunk/busybox/networking/interface.c 2006-06-26 22:03:43 UTC (rev 15522)
@@ -771,11 +771,24 @@
.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,
ðer_hwtype,
&ppp_hwtype,
&unspec_hwtype,
+#ifdef CONFIG_FEATURE_IPV6
+ &sit_hwtype,
+#endif
NULL
};
More information about the busybox-cvs
mailing list