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:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| br_common.h | ||
| bridge.c | ||
| fdb.c | ||
| link.c | ||
| mdb.c | ||
| monitor.c | ||
| vlan.c | ||