aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/link.c')
-rw-r--r--bridge/link.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bridge/link.c b/bridge/link.c
index 93472ad3..60200f16 100644
--- a/bridge/link.c
+++ b/bridge/link.c
@@ -213,6 +213,13 @@ int print_linkinfo(const struct sockaddr_nl *who,
if (aftb[IFLA_BRIDGE_MODE])
print_hwmode(fp, rta_getattr_u16(aftb[IFLA_BRIDGE_MODE]));
+ if (show_details) {
+ if (aftb[IFLA_BRIDGE_VLAN_INFO]) {
+ fprintf(fp, "\n");
+ print_vlan_info(fp, tb[IFLA_AF_SPEC],
+ ifi->ifi_index);
+ }
+ }
}
fprintf(fp, "\n");