summaryrefslogtreecommitdiffstats
path: root/ripngd
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 /ripngd
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 'ripngd')
-rw-r--r--ripngd/ripngd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index 108da21c1..8e98f5b0e 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -1348,7 +1348,7 @@ ripng_read (struct thread *thread)
}
packet = (struct ripng_packet *) STREAM_DATA (ripng->ibuf);
- ifp = if_lookup_by_index (ifindex);
+ ifp = if_lookup_by_index (ifindex, VRF_DEFAULT);
/* RIPng packet received. */
if (IS_RIPNG_DEBUG_EVENT)