From 435ac2a65048e15ed345a636aadf9159bee7d68c Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Tue, 19 Jul 2011 21:56:19 +0200 Subject: [PATCH] Fixed bug #33801 Corruption of nd6 tables --- src/core/ipv6/nd6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipv6/nd6.c b/src/core/ipv6/nd6.c index 3cabedec..772e239c 100644 --- a/src/core/ipv6/nd6.c +++ b/src/core/ipv6/nd6.c @@ -1491,7 +1491,7 @@ nd6_get_next_hop_entry(ip6_addr_t * ip6addr, struct netif * netif) i = nd6_new_neighbor_cache_entry(); if (i >= 0) { /* got new neighbor entry. make it our new cached index. */ - nd6_cached_destination_index = i; + nd6_cached_neighbor_index = i; } else { /* Could not create a neighbor cache entry. */ return ERR_MEM;