iproute2/bridge
Gokul Sivakumar 82149efee9 bridge: reorder cmd line arg parsing to let "-c" detected as "color" option
As per the man/man8/bridge.8 page, the shorthand cmd line arg "-c" can be
used to colorize the bridge cmd output. But while parsing the args in while
loop, matches() detects "-c" as "-compressedvlans" instead of "-color", so
fix this by doing the check for "-color" option first before checking for
"-compressedvlans".

Signed-off-by: Gokul Sivakumar <gokulkumar792@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2021-08-18 14:04:53 -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: monitor: add support for vlan monitoring 2021-04-22 05:13:39 +00:00
bridge.c bridge: reorder cmd line arg parsing to let "-c" detected as "color" option 2021-08-18 14:04:53 -07:00
fdb.c Merge branch 'main' into next 2020-08-06 16:21:35 +00:00
link.c bridge: add parse_stp_state helper 2021-04-22 05:13:20 +00:00
mdb.c bridge: monitor: add support for vlan monitoring 2021-04-22 05:13:39 +00:00
monitor.c bridge: monitor: add support for vlan monitoring 2021-04-22 05:13:39 +00:00
vlan.c bridge: vlan: dump port only if there are any vlans 2021-04-26 02:32:46 +00:00