]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
ip6tnl/tunnel: Do not print obscure flowinfo
authorSerhey Popovych <serhe.popovych@gmail.com>
Wed, 10 Jan 2018 15:53:10 +0000 (17:53 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 10 Jan 2018 16:06:12 +0000 (08:06 -0800)
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>
ip/link_ip6tnl.c

index 8e84ed06362302eeef1751b53c12a2ebd981a1a2..e084975591f477d8ae8bd79d019182f85a23594e 100644 (file)
@@ -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",