]> git.proxmox.com Git - mirror_iproute2.git/commit
bridge: colorize output and use JSON print library
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 20 Feb 2018 19:24:05 +0000 (11:24 -0800)
committerDavid Ahern <dsahern@gmail.com>
Wed, 21 Feb 2018 16:41:31 +0000 (08:41 -0800)
commitc7c1a1ef51aea7cf9bff0561878b211bf658e252
treee48d1ddade6d53ba135035220ba4db4a909acac8
parent01842eb5816f96ec9f81660f946d376e1a71c398
bridge: colorize output and use JSON print library

Use new functions from json_print to simplify code.
Provide standard flag for colorizing output.

The shortened -c flag is ambiguous it could mean color or
compressvlan; it is now changed to mean color for consistency
with other iproute2 commands.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
bridge/br_common.h
bridge/bridge.c
bridge/fdb.c
bridge/mdb.c
bridge/vlan.c