From 21302c2b789352d9ab741f91c1ac2e4f5cd71c68 Mon Sep 17 00:00:00 2001 From: "\"Robert P. J. Day\"" Date: Mon, 26 Jun 2006 22:03:43 +0000 Subject: [PATCH] Properly print the output for a sit (IPv6-in-IPv4) interface. --- 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 }; -- 2.25.1