Skip to content

Commit

Permalink
route: interlink: Added correct mask when setting lan id
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Skarhed <fredrik.skarhed@westermo.se>
Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@westermo.com>
  • Loading branch information
voldymyr committed Jan 24, 2024
1 parent 9456016 commit 7b56e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/route/link/interlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ int rtnl_interlink_set_lan_id(struct rtnl_link *link, uint8_t lan_id)
IS_INTERLINK_LINK_ASSERT(link);

info->hi_lan_id = lan_id;
info->hi_mask |= INTERLINK_ATTR_NET_ID;
info->hi_mask |= INTERLINK_ATTR_LAN_ID;

return 0;
}
Expand Down

0 comments on commit 7b56e4d

Please sign in to comment.