mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 09:05:01 +00:00
Merge pull request #16262 from FRRouting/mergify/bp/dev/10.1/pr-16260
bgpd: fix do not use api.backup_nexthop in ZAPI message (backport #16260)
This commit is contained in:
commit
1787c35d23
@ -1331,10 +1331,7 @@ static void bgp_zebra_announce_parse_nexthop(
|
||||
&nh_weight))
|
||||
continue;
|
||||
}
|
||||
if (CHECK_FLAG(info->flags, BGP_PATH_SELECTED))
|
||||
api_nh = &api->nexthops[*valid_nh_count];
|
||||
else
|
||||
api_nh = &api->backup_nexthops[*valid_nh_count];
|
||||
|
||||
api_nh->srte_color = bgp_attr_get_color(info->attr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user