Skip to content

Commit

Permalink
Merge pull request FRRouting#16205 from FRRouting/mergify/bp/stable/9…
Browse files Browse the repository at this point in the history
….0/pr-16191

lib: fix copy srte_color from zapi_nexthop structure (backport FRRouting#16191)
  • Loading branch information
Jafaral authored Jun 13, 2024
2 parents d8319dd + 6ef1cad commit 41bbb84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/zclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -1923,6 +1923,7 @@ int zapi_nexthop_from_nexthop(struct zapi_nexthop *znh,
znh->weight = nh->weight;
znh->ifindex = nh->ifindex;
znh->gate = nh->gate;
znh->srte_color = nh->srte_color;

if (CHECK_FLAG(nh->flags, NEXTHOP_FLAG_ONLINK))
SET_FLAG(znh->flags, ZAPI_NEXTHOP_FLAG_ONLINK);
Expand Down

0 comments on commit 41bbb84

Please sign in to comment.