netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value
@ 2014-05-20  9:37 Nicolas Dichtel
  2014-05-20  9:37 ` [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value Nicolas Dichtel
  2014-05-20 15:13 ` [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Vlad Yasevich
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Dichtel @ 2014-05-20  9:37 UTC (permalink / raw)
  To: shemminger; +Cc: netdev, Nicolas Dichtel

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 bridge/link.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bridge/link.c b/bridge/link.c
index 38dfaea2e180..1632bc16803f 100644
--- a/bridge/link.c
+++ b/bridge/link.c
@@ -185,6 +185,9 @@ int print_linkinfo(const struct sockaddr_nl *who,
 				if (prtb[IFLA_BRPORT_FAST_LEAVE])
 					print_onoff(fp, "fastleave",
 						    rta_getattr_u8(prtb[IFLA_BRPORT_FAST_LEAVE]));
+				if (prtb[IFLA_BRPORT_LEARNING])
+					print_onoff(fp, "learning",
+						    rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING]));
 			}
 		} else
 			print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO]));
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-20 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20  9:37 [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Nicolas Dichtel
2014-05-20  9:37 ` [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value Nicolas Dichtel
2014-05-20 15:13 ` [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Vlad Yasevich
2014-05-20 16:11   ` Nicolas Dichtel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).