mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Properly print the output for a sit (IPv6-in-IPv4) interface.
This commit is contained in:
parent
4137dd783b
commit
21302c2b78
1 changed files with 13 additions and 0 deletions
|
|
@ -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 a new issue