summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 4fb6d9263ae..28ee53e7d49 100644
--- a/src/vnet/adj/adj_nbr.c
+++ b/src/vnet/adj/adj_nbr.c
@@ -671,7 +671,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);