Properly print the output for a sit (IPv6-in-IPv4) interface.

This commit is contained in:
"Robert P. J. Day" 2006-06-26 22:03:43 +00:00
parent 4137dd783b
commit 21302c2b78

View File

@ -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,
&ether_hwtype,
&ppp_hwtype,
&unspec_hwtype,
#ifdef CONFIG_FEATURE_IPV6
&sit_hwtype,
#endif
NULL
};