summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_packet.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 /nhrpd/nhrp_packet.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 'nhrpd/nhrp_packet.c')
-rw-r--r--nhrpd/nhrp_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_packet.c b/nhrpd/nhrp_packet.c
index 5d2866a67..36dbdfd77 100644
--- a/nhrpd/nhrp_packet.c
+++ b/nhrpd/nhrp_packet.c
@@ -290,7 +290,7 @@ static int nhrp_packet_recvraw(struct thread *t)
goto err;
}
- ifp = if_lookup_by_index(ifindex);
+ ifp = if_lookup_by_index(ifindex, VRF_DEFAULT);
if (!ifp) goto err;
p = nhrp_peer_get(ifp, &remote_nbma);