projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4137dd7
)
Properly print the output for a sit (IPv6-in-IPv4) interface.
author
"Robert P. J. Day"
<rpjday@mindspring.com>
Mon, 26 Jun 2006 22:03:43 +0000
(22:03 -0000)
committer
"Robert P. J. Day"
<rpjday@mindspring.com>
Mon, 26 Jun 2006 22:03:43 +0000
(22:03 -0000)
networking/interface.c
patch
|
blob
|
history
diff --git
a/networking/interface.c
b/networking/interface.c
index
4ad542d
..
a666c2e
100644
(file)
--- 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,
ðer_hwtype,
&ppp_hwtype,
&unspec_hwtype,
+#ifdef CONFIG_FEATURE_IPV6
+ &sit_hwtype,
+#endif
NULL
};