summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-16 23:14:14 +0000
committerDave Wallace <dwallacelf@gmail.com>2020-01-01 17:23:28 +0000
commit775d5b1e226717f591fffab80d35ea07c90a680f (patch)
treed0307f2d175b930fe9230381647d5de2ce28a678
parentd0bb569621b9f0608c8eac448aec07cd010d4706 (diff)
fib: Adjacency walk fix for IPv6
Type: fix Change-Id: Id3a1950e49d5eb1883af06a14df97e98f55162a8 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit e7ee300923d23b6a6eab42676c8dcce85da89bed)
-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);