From 2eb862c26016fa553b36526623e2287809a4e296 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 4 Aug 2018 11:45:20 +0000 Subject: [PATCH] rtnl_link: decode new IFLA_BRPORT_* attributes * rtnl_link.c (ifla_brport_nla_decoders): Add entries for IFLA_BRPORT_GROUP_FWD_MASK, IFLA_BRPORT_NEIGH_SUPPRESS, and IFLA_BRPORT_ISOLATED. --- rtnl_link.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtnl_link.c b/rtnl_link.c index f16c7373..1fbfd267 100644 --- a/rtnl_link.c +++ b/rtnl_link.c @@ -167,7 +167,10 @@ static const nla_decoder_t ifla_brport_nla_decoders[] = { [IFLA_BRPORT_MCAST_FLOOD] = decode_nla_u8, [IFLA_BRPORT_MCAST_TO_UCAST] = decode_nla_u8, [IFLA_BRPORT_VLAN_TUNNEL] = decode_nla_u8, - [IFLA_BRPORT_BCAST_FLOOD] = decode_nla_u8 + [IFLA_BRPORT_BCAST_FLOOD] = decode_nla_u8, + [IFLA_BRPORT_GROUP_FWD_MASK] = decode_nla_u16, + [IFLA_BRPORT_NEIGH_SUPPRESS] = decode_nla_u8, + [IFLA_BRPORT_ISOLATED] = decode_nla_u8 }; static bool -- 2.40.0