Fix typo introduced by commit a00f14a60a8ec54fbcf63e44d00f7101ec7cb5a3

This commit is contained in:
Gregory Nutt 2015-05-08 14:19:18 -06:00
parent 009d470ded
commit d35926ea4a
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ static const uint8_t g_multicast_ethaddr[3] = {0x01, 0x00, 0x5e};
* beginning of the packet and the function returns.
*
* If no Neighbor Table entry is found for the destination IPv6 address,
* the packet in the d_buf[] is replaced by an ICMPv6 Neighbor Solict
* the packet in the d_buf[] is replaced by an ICMPv6 Neighbor Solicit
* request packet for the IPv6 address. The IPv6 packet is dropped and
* it is assumed that the higher level protocols (e.g., TCP) eventually
* will retransmit the dropped packet.
@ -245,7 +245,7 @@ void neighbor_out(FAR struct net_driver_s *dev)
* outgoing packet.
*/
dev_d_len += netdev_ipv6_hdrlen(dev);
dev->d_len += netdev_ipv6_hdrlen(dev);
nllvdbg("Outgoing IPv6 Packet length: %d (%d)\n",
dev->d_len, (ip->len[0] << 8) | ip->len[1]);
}