ip6tnl/tunnel: Do not print obscure flowinfo
It is implementation internal and main purpose of printing it seems debugging. Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
b76b24006c
commit
4dc6665b6b
|
|
@ -440,16 +440,6 @@ static void ip6tunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb
|
|||
}
|
||||
}
|
||||
|
||||
if (is_json_context()) {
|
||||
SPRINT_BUF(flwinfo);
|
||||
|
||||
snprintf(flwinfo, sizeof(flwinfo), "0x%08x", ntohl(flowinfo));
|
||||
print_string(PRINT_JSON, "flowinfo", NULL, flwinfo);
|
||||
} else {
|
||||
printf("(flowinfo 0x%08x) ", ntohl(flowinfo));
|
||||
|
||||
}
|
||||
|
||||
if (flags & IP6_TNL_F_RCV_DSCP_COPY)
|
||||
print_bool(PRINT_ANY,
|
||||
"ip6_tnl_f_rcv_dscp_copy",
|
||||
|
|
|
|||
Loading…
Reference in New Issue