net/icmpv6/icmpv6_input.c: Fix some ICMPv6 introduced with recent changes.

This commit is contained in:
Gregory Nutt 2018-11-09 16:10:19 -06:00
parent 71e1056e6d
commit 8527fcf4c5

View File

@ -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