pimd: Cleanup pim_pim use of pimg

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-05-21 12:18:59 -04:00
parent e52e322341
commit ef434d3e39

View File

@ -334,7 +334,7 @@ static int pim_sock_read(struct thread *t)
sizeof(to_str)))
sprintf(to_str, "<to?>");
recv_ifp = if_lookup_by_index(ifindex, pimg->vrf_id);
recv_ifp = if_lookup_by_index(ifindex, ifp->vrf_id);
if (recv_ifp) {
zassert(ifindex == (int)recv_ifp->ifindex);
}