summaryrefslogtreecommitdiffstats
path: root/lib/bfd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-10 21:45:28 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 15:26:53 +0100
commit7e2b760345f2dc43d9fc5381617ac4acc1cfd1d1 (patch)
tree7bd585227cb8666a15d3920ca13a1f44560b6360 /lib/bfd.c
parentMerge pull request #270 from donaldsharp/cares (diff)
downloadfrr-7e2b760345f2dc43d9fc5381617ac4acc1cfd1d1.tar.xz
frr-7e2b760345f2dc43d9fc5381617ac4acc1cfd1d1.zip
*: Remove non-vrf based ifindex lookup
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/bfd.c')
-rw-r--r--lib/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bfd.c b/lib/bfd.c
index a5edaea21..b651a05a0 100644
--- a/lib/bfd.c
+++ b/lib/bfd.c
@@ -293,7 +293,7 @@ bfd_get_peer_info (struct stream *s, struct prefix *dp, struct prefix *sp,
/* Lookup index. */
if (ifindex != 0)
{
- ifp = if_lookup_by_index_vrf (ifindex, vrf_id);
+ ifp = if_lookup_by_index (ifindex, vrf_id);
if (ifp == NULL)
{
if (bfd_debug)