iproute2/bridge
Phil Sutter 5332148deb bridge: Fix check for colored output
There is no point in calling enable_color() conditionally if it was
already called for each time '-color' flag was parsed. Align the
algorithm with that in ip and tc by actually making use of 'color'
variable.

Fixes: e9625d6aea ("Merge branch 'iproute2-master' into iproute2-next")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David Ahern <dsahern@gmail.com>
2018-08-15 09:54:51 -07:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
Makefile SPDX license identifiers 2017-11-24 12:21:35 -08:00
br_common.h bridge: colorize output and use JSON print library 2018-02-21 08:41:31 -08:00
bridge.c bridge: Fix check for colored output 2018-08-15 09:54:51 -07:00
fdb.c bridge: add option extern_learn to set NTF_EXT_LEARNED on fdb entries 2018-03-20 08:24:51 -07:00
link.c bridge: add support for isolated option 2018-07-06 07:58:41 -07:00
mdb.c utils: Introduce and use nodev() helper routine 2018-03-11 17:58:36 -07:00
monitor.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
vlan.c utils: Introduce and use nodev() helper routine 2018-03-11 17:58:36 -07:00