iproute2/bridge
Nikolay Aleksandrov c72de3713d bridge: vlan: dump port only if there are any vlans
When I added support for new vlan rtm dumping, I made a mistake in the
output format when there are no vlans on the port. This patch fixes it by
not printing ports without vlan entries (similar to current situation).

Example (no vlans):
$ bridge -d vlan show
port              vlan-id

Fixes: e5f87c8341 ("bridge: vlan: add support for the new rtm dump call")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
2021-04-26 02:32:46 +00:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
br_common.h bridge: monitor: add support for vlan monitoring 2021-04-22 05:13:39 +00:00
bridge.c Merge branch 'main' into next 2020-11-24 22:04:48 -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
Makefile SPDX license identifiers 2017-11-24 12:21:35 -08: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