mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
Revert "bgpd: resolve ipv6 ecmp issue with vrfs and ll nexthop"
This reverts commit fa14eb2c0b
.
This was for stable/2.0 and wasn't intended to go on stable/3.0
-- my bad, missed this in the merge.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
f6a64b5fa0
commit
05220b6d5d
@ -1470,8 +1470,7 @@ bgp_zebra_announce (struct prefix *p, struct bgp_info *info, struct bgp *bgp,
|
|||||||
if (!ifindex)
|
if (!ifindex)
|
||||||
{
|
{
|
||||||
if (info->peer->conf_if || info->peer->ifname)
|
if (info->peer->conf_if || info->peer->ifname)
|
||||||
ifindex = ifname2ifindex_vrf (info->peer->conf_if ? info->peer->conf_if :
|
ifindex = if_nametoindex (info->peer->conf_if ? info->peer->conf_if : info->peer->ifname);
|
||||||
info->peer->ifname, bgp->vrf_id);
|
|
||||||
else if (info->peer->nexthop.ifp)
|
else if (info->peer->nexthop.ifp)
|
||||||
ifindex = info->peer->nexthop.ifp->ifindex;
|
ifindex = info->peer->nexthop.ifp->ifindex;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user