mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
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: 98453b6580
("ip/l2tp: add JSON support")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
710d3ab2ce
commit
2bb37e9017
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user