aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/ip/ip6_neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_neighbor.c b/src/vnet/ip/ip6_neighbor.c
index 363be4e42d2..5b8085d556d 100644
--- a/src/vnet/ip/ip6_neighbor.c
+++ b/src/vnet/ip/ip6_neighbor.c
@@ -1865,7 +1865,7 @@ icmp6_router_solicitation (vlib_main_t * vm,
else
{
adj_index0 = radv_info->mcast_adj_index;
- if (adj_index0 == 0)
+ if (adj_index0 == ADJ_INDEX_INVALID)
error0 = ICMP6_ERROR_DST_LOOKUP_MISS;
else
{