From d35926ea4a1a2da22130eab4b20f4369e04a6d13 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 8 May 2015 14:19:18 -0600 Subject: [PATCH] Fix typo introduced by commit a00f14a60a8ec54fbcf63e44d00f7101ec7cb5a3 --- net/neighbor/neighbor_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/neighbor/neighbor_out.c b/net/neighbor/neighbor_out.c index f8d3a80d57..3a6e471988 100644 --- a/net/neighbor/neighbor_out.c +++ b/net/neighbor/neighbor_out.c @@ -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]); }