]> git.proxmox.com Git - mirror_iproute2.git/commit - bridge/link.c
bridge: fix vlan show formatting
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 6 Sep 2018 13:42:46 +0000 (14:42 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Sep 2018 18:48:06 +0000 (11:48 -0700)
commit0f36267485e30099a4f735c3aadfa58b5efa1918
treee9eeb20f558d599891ec4ae5f8a06e1650c23777
parent2ed82667b8dcc65fd14727dcf365821d63bd2c75
bridge: fix vlan show formatting

The output of vlan show was broken previous change to use json_print.
Clean the code up and return to original format.

Note: the JSON syntax has changed to make the bridge vlan
show more like other outputs (e.g. ip -j li show).

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
bridge/br_common.h
bridge/link.c
bridge/vlan.c