summaryrefslogtreecommitdiff
path: root/nuttx/net/icmp
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-23 14:06:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-23 14:06:08 -0600
commit7edab99a2a81d2f6c522e6b1b889321cc7f8c030 (patch)
tree996bab1e6a0593c4fe1cd9a2c423e6a7de2575de /nuttx/net/icmp
parentab0606836b66156a540a8cdea9a0721687a989db (diff)
downloadpx4-nuttx-7edab99a2a81d2f6c522e6b1b889321cc7f8c030.tar.gz
px4-nuttx-7edab99a2a81d2f6c522e6b1b889321cc7f8c030.tar.bz2
px4-nuttx-7edab99a2a81d2f6c522e6b1b889321cc7f8c030.zip
Networking: First cut at ICMPv6 ping logic
Diffstat (limited to 'nuttx/net/icmp')
-rw-r--r--nuttx/net/icmp/icmp_ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/icmp/icmp_ping.c b/nuttx/net/icmp/icmp_ping.c
index 60806c7c5..e32ef2d31 100644
--- a/nuttx/net/icmp/icmp_ping.c
+++ b/nuttx/net/icmp/icmp_ping.c
@@ -349,7 +349,7 @@ int icmp_ping(in_addr_t addr, uint16_t id, uint16_t seqno, uint16_t datalen,
state.png_result = -ENOMEM; /* Assume allocation failure */
state.png_addr = addr; /* Address of the peer to be ping'ed */
state.png_id = id; /* The ID to use in the ECHO request */
- state.png_seqno = seqno; /* The seqno to use int the ECHO request */
+ state.png_seqno = seqno; /* The seqno to use in the ECHO request */
state.png_datlen = datalen; /* The length of data to send in the ECHO request */
state.png_sent = false; /* ECHO request not yet sent */