mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-16 18:39:10 +00:00
Merge pull request #16203 from FRRouting/mergify/bp/stable/10.0/pr-16191
lib: fix copy srte_color from zapi_nexthop structure (backport #16191)
This commit is contained in:
commit
84bbd169d9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user