From 6ae80e2285917dacda9a130e83e4063fc85c4b88 Mon Sep 17 00:00:00 2001 From: rpjday Date: Mon, 26 Jun 2006 22:03:43 +0000 Subject: Properly print the output for a sit (IPv6-in-IPv4) interface. git-svn-id: svn://busybox.net/trunk/busybox@15522 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/interface.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 }; -- cgit v1.2.3-55-g6feb