Skip to content

Commit

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

lib: fix copy srte_color from zapi_nexthop structure (backport FRRouting#16191)
  • Loading branch information
ton31337 committed Jun 14, 2024
2 parents baac0fc + 9be48cb commit 84bbd16
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 @@ -2171,6 +2171,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 84bbd16

Please sign in to comment.