]> granicus.if.org Git - strace/commitdiff
rtnl_link: decode new IFLA_BRPORT_* attributes
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 4 Aug 2018 11:45:20 +0000 (11:45 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 4 Aug 2018 11:45:20 +0000 (11:45 +0000)
* 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

index f16c7373cde70ed6af9bb6c45f57fef1abb8077e..1fbfd26714747dfcad67998d5f821d7068785f6b 100644 (file)
@@ -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