summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_nbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/adj/adj_nbr.c')
-rw-r--r--src/vnet/adj/adj_nbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/adj/adj_nbr.c b/src/vnet/adj/adj_nbr.c
index 7f053c82d59..c043bd5b65d 100644
--- a/src/vnet/adj/adj_nbr.c
+++ b/src/vnet/adj/adj_nbr.c
@@ -665,7 +665,7 @@ adj_nbr_walk_nh (u32 sw_if_index,
FOR_EACH_VNET_LINK(linkt)
{
- ai = adj_nbr_find (FIB_PROTOCOL_IP4, linkt, nh, sw_if_index);
+ ai = adj_nbr_find (adj_nh_proto, linkt, nh, sw_if_index);
if (INDEX_INVALID != ai)
cb(ai, ctx);