summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_nbr.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-16 23:14:14 +0000
committerNeale Ranns <nranns@cisco.com>2019-12-17 00:11:03 +0000
commite7ee300923d23b6a6eab42676c8dcce85da89bed (patch)
tree810f42da97eb0c6f1f3231900e98d1243dfda08c /src/vnet/adj/adj_nbr.c
parentf50bac1bb25b02d7f086627c4c0a0709ee0f61d5 (diff)
fib: Adjacency walk fix for IPv6
Type: fix Change-Id: Id3a1950e49d5eb1883af06a14df97e98f55162a8 Signed-off-by: Neale Ranns <nranns@cisco.com>
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 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);