This patch fixes IFLA_BRPORT_FASTLEAVE to append to the correct
netlink attribute. (Turned up in automated testing.)
Fixes: 55bc931a7272e6ac8f555bcc2a373eb2b6b58377
Signed-off-by: Jef Oliver <jef.oliver@intel.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
bd->b_flags & RTNL_BRIDGE_HAIRPIN_MODE);
}
if (bd->b_flags_mask & RTNL_BRIDGE_FAST_LEAVE) {
- NLA_PUT_U8(msg, IFLA_BRPORT_MODE,
+ NLA_PUT_U8(msg, IFLA_BRPORT_FAST_LEAVE,
bd->b_flags & RTNL_BRIDGE_FAST_LEAVE);
}
if (bd->b_flags_mask & RTNL_BRIDGE_ROOT_BLOCK) {