diff options
author | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-06-26 22:03:43 +0000 |
---|---|---|
committer | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-06-26 22:03:43 +0000 |
commit | 21302c2b789352d9ab741f91c1ac2e4f5cd71c68 (patch) | |
tree | d97e617ef183b40b8f5a365d31bdd4c7fa7172f4 /networking | |
parent | 4137dd783b66d609ed033233bc2efad446c975c2 (diff) | |
download | busybox-21302c2b789352d9ab741f91c1ac2e4f5cd71c68.tar.gz |
Properly print the output for a sit (IPv6-in-IPv4) interface.
Diffstat (limited to 'networking')
-rw-r--r-- | networking/interface.c | 13 |
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, ðer_hwtype, &ppp_hwtype, &unspec_hwtype, +#ifdef CONFIG_FEATURE_IPV6 + &sit_hwtype, +#endif NULL }; |