mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-29 00:32:51 +00:00
Fixed bug #33801 Corruption of nd6 tables
This commit is contained in:
parent
fb0ad2f9ea
commit
435ac2a650
@ -1491,7 +1491,7 @@ nd6_get_next_hop_entry(ip6_addr_t * ip6addr, struct netif * netif)
|
|||||||
i = nd6_new_neighbor_cache_entry();
|
i = nd6_new_neighbor_cache_entry();
|
||||||
if (i >= 0) {
|
if (i >= 0) {
|
||||||
/* got new neighbor entry. make it our new cached index. */
|
/* got new neighbor entry. make it our new cached index. */
|
||||||
nd6_cached_destination_index = i;
|
nd6_cached_neighbor_index = i;
|
||||||
} else {
|
} else {
|
||||||
/* Could not create a neighbor cache entry. */
|
/* Could not create a neighbor cache entry. */
|
||||||
return ERR_MEM;
|
return ERR_MEM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user