net/icmpv6/icmpv6_input.c: Fix some ICMPv6 introduced with recent changes.
This commit is contained in:
parent
71e1056e6d
commit
8527fcf4c5
@ -269,7 +269,7 @@ void icmpv6_input(FAR struct net_driver_s *dev, unsigned int iplen)
|
||||
{
|
||||
/* Save the sender's address mapping in our Neighbor Table. */
|
||||
|
||||
neighbor_add(dev, ipicmp->srcipaddr, sol->srclladdr);
|
||||
neighbor_add(dev, ipv6->srcipaddr, sol->srclladdr);
|
||||
}
|
||||
|
||||
/* Yes.. Send a neighbor advertisement back to where the neighbor
|
||||
|
Loading…
Reference in New Issue
Block a user