|
@@ -189,6 +189,8 @@ static int br_port_fill_attrs(struct sk_buff *skb,
|
|
|
!!(p->flags & BR_FLOOD)) ||
|
|
|
nla_put_u8(skb, IFLA_BRPORT_MCAST_FLOOD,
|
|
|
!!(p->flags & BR_MCAST_FLOOD)) ||
|
|
|
+ nla_put_u8(skb, IFLA_BRPORT_BCAST_FLOOD,
|
|
|
+ !!(p->flags & BR_BCAST_FLOOD)) ||
|
|
|
nla_put_u8(skb, IFLA_BRPORT_PROXYARP, !!(p->flags & BR_PROXYARP)) ||
|
|
|
nla_put_u8(skb, IFLA_BRPORT_PROXYARP_WIFI,
|
|
|
!!(p->flags & BR_PROXYARP_WIFI)) ||
|
|
@@ -683,6 +685,7 @@ static int br_setport(struct net_bridge_port *p, struct nlattr *tb[])
|
|
|
br_set_port_flag(p, tb, IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD);
|
|
|
br_set_port_flag(p, tb, IFLA_BRPORT_MCAST_FLOOD, BR_MCAST_FLOOD);
|
|
|
br_set_port_flag(p, tb, IFLA_BRPORT_MCAST_TO_UCAST, BR_MULTICAST_TO_UNICAST);
|
|
|
+ br_set_port_flag(p, tb, IFLA_BRPORT_BCAST_FLOOD, BR_BCAST_FLOOD);
|
|
|
br_set_port_flag(p, tb, IFLA_BRPORT_PROXYARP, BR_PROXYARP);
|
|
|
br_set_port_flag(p, tb, IFLA_BRPORT_PROXYARP_WIFI, BR_PROXYARP_WIFI);
|
|
|
|