From 2353a81b205a9cf44ce662834d55d3b20f32577c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 21 Mar 2017 12:54:55 -0400 Subject: [PATCH] pimd: Fix interface api The interface api has change and the pim changes used the old api. Signed-off-by: Donald Sharp --- pimd/pim_nht.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c index 12632c13bb..c9ae673224 100644 --- a/pimd/pim_nht.c +++ b/pimd/pim_nht.c @@ -561,7 +561,7 @@ pim_parse_nexthop_update (struct zclient *zclient, int command, stream_get (&nexthop->gate.ipv6, s, 16); nexthop->ifindex = stream_getl (s); nbr = - pim_neighbor_find_if (if_lookup_by_index_vrf + pim_neighbor_find_if (if_lookup_by_index (nexthop->ifindex, VRF_DEFAULT)); /* Overwrite with Nbr address as NH addr */ if (nbr) @@ -582,7 +582,7 @@ pim_parse_nexthop_update (struct zclient *zclient, int command, inet_ntoa (nexthop->gate.ipv4), nexthop->type); } - ifp = if_lookup_by_index (nexthop->ifindex); + ifp = if_lookup_by_index (nexthop->ifindex, VRF_DEFAULT); if (!ifp) { if (PIM_DEBUG_ZEBRA) -- 2.39.5