]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: Fix vni printing
authorBenjamin Poirier <bpoirier@cumulusnetworks.com>
Mon, 16 Dec 2019 06:43:42 +0000 (15:43 +0900)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 17 Dec 2019 04:49:28 +0000 (20:49 -0800)
commitdfa13e2273b206419ec0199a11c92122f2e8ea33
tree1895082f6a9c622bb1d9ce56e9a1360cee689300
parent1f53ba7297a8b8189fd6853c480de2f6bf9ac787
bridge: Fix vni printing

Since commit c7c1a1ef51ae ("bridge: colorize output and use JSON print
library"), print_range() is used for vid (16bits) and vni. However, the
latter are 32bits so they get truncated. They got truncated even before
that commit though.

Fixes: 8652eeb3ab12 ("bridge: vlan: support for per vlan tunnel info")
Signed-off-by: Benjamin Poirier <bpoirier@cumulusnetworks.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
bridge/vlan.c
testsuite/Makefile
testsuite/lib/generic.sh
testsuite/tests/bridge/vlan/tunnelshow.t [new file with mode: 0755]