mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 00:59:13 +00:00
Merge pull request #621 from dslicenc/cm15545
bgpd: fix issue with ipv6 ecmp with vrfs
This commit is contained in:
commit
fd9b62d893
@ -1509,7 +1509,8 @@ bgp_zebra_announce (struct prefix *p, struct bgp_info *info, struct bgp *bgp,
|
||||
if (!ifindex)
|
||||
{
|
||||
if (mpinfo->peer->conf_if || mpinfo->peer->ifname)
|
||||
ifindex = ifname2ifindex (mpinfo->peer->conf_if ? mpinfo->peer->conf_if : mpinfo->peer->ifname);
|
||||
ifindex = ifname2ifindex_vrf (mpinfo->peer->conf_if ? mpinfo->peer->conf_if :
|
||||
mpinfo->peer->ifname, bgp->vrf_id);
|
||||
else if (mpinfo->peer->nexthop.ifp)
|
||||
ifindex = mpinfo->peer->nexthop.ifp->ifindex;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user