Skip to content

Commit

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

lib: fix copy srte_color from zapi_nexthop structure (backport FRRouting#16191)
  • Loading branch information
Jafaral authored Jun 13, 2024
2 parents d35614a + 59e8c67 commit 44ec9cd
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 @@ -2163,6 +2163,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 44ec9cd

Please sign in to comment.