Properly print the output for a sit (IPv6-in-IPv4) interface.
This commit is contained in:
parent
4137dd783b
commit
21302c2b78
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user