diff options
author | Andrea Claudi <aclaudi@redhat.com> | 2022-06-21 18:53:08 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2022-06-21 15:35:29 -0700 |
commit | 2bb37e90177cae1b92284a943123b0575505141f (patch) | |
tree | 1bae2e418271ac298172f2f19fb7afac69fb43ff | |
parent | 710d3ab2ceb07ffa27b9c52f7a5dac0460269686 (diff) | |
download | iproute2-2bb37e90177cae1b92284a943123b0575505141f.tar.gz |
l2tp: fix typo in AF_INET6 checksum JSON print
In print_tunnel json output, a typo makes it impossible to know the
value of udp6_csum_rx, printing instead udp6_csum_tx two times.
Fixed getting rid of the typo.
Fixes: 98453b65800f ("ip/l2tp: add JSON support")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r-- | ip/ipl2tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c index 569723581..f1d574de3 100644 --- a/ip/ipl2tp.c +++ b/ip/ipl2tp.c @@ -258,7 +258,7 @@ static void print_tunnel(const struct l2tp_data *data) NULL, p->udp6_csum_tx); print_bool(PRINT_JSON, "checksum_rx", - NULL, p->udp6_csum_tx); + NULL, p->udp6_csum_rx); } else { printf(" UDP checksum: %s%s%s%s\n", p->udp6_csum_tx && p->udp6_csum_rx |