]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Revert "bgpd: resolve ipv6 ecmp issue with vrfs and ll nexthop"
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 18 May 2017 12:05:53 +0000 (14:05 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 18 May 2017 12:05:53 +0000 (14:05 +0200)
This reverts commit fa14eb2c0b408982a6634459b3afb21e9df6326a.

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>
bgpd/bgp_zebra.c

index 4e00367affb5402c17dabef410703477c92eaebf..72bd081a7e75c4480dbd92d037538c7fbf4f15bd 100644 (file)
@@ -1470,8 +1470,7 @@ bgp_zebra_announce (struct prefix *p, struct bgp_info *info, struct bgp *bgp,
           if (!ifindex)
            {
              if (info->peer->conf_if || info->peer->ifname)
-               ifindex = ifname2ifindex_vrf (info->peer->conf_if ? info->peer->conf_if :
-                                              info->peer->ifname, bgp->vrf_id);
+               ifindex = if_nametoindex (info->peer->conf_if ? info->peer->conf_if : info->peer->ifname);
              else if (info->peer->nexthop.ifp)
                ifindex = info->peer->nexthop.ifp->ifindex;
            }