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>
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;
}