Skip to content

Commit

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

lib: fix copy srte_color from zapi_nexthop structure (backport FRRouting#16191)
  • Loading branch information
ton31337 authored Jun 14, 2024
2 parents a63f510 + d74b198 commit 96f4dde
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 @@ -1927,6 +1927,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 96f4dde

Please sign in to comment.