summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.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 /ospf6d/ospf6_interface.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 'ospf6d/ospf6_interface.c')
-rw-r--r--ospf6d/ospf6_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index 8998799cf..62c77e6f8 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -69,7 +69,7 @@ ospf6_interface_lookup_by_ifindex (ifindex_t ifindex)
struct ospf6_interface *oi;
struct interface *ifp;
- ifp = if_lookup_by_index (ifindex);
+ ifp = if_lookup_by_index (ifindex, VRF_DEFAULT);
if (ifp == NULL)
return (struct ospf6_interface *) NULL;