diff options
Diffstat (limited to 'nuttx/net/tcp/tcp_input.c')
-rw-r--r-- | nuttx/net/tcp/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/tcp/tcp_input.c b/nuttx/net/tcp/tcp_input.c index 0106c390f..c447045ec 100644 --- a/nuttx/net/tcp/tcp_input.c +++ b/nuttx/net/tcp/tcp_input.c @@ -324,7 +324,7 @@ found: * len) and the length of the IP header (20 bytes). */ - dev->d_len -= (len + IP_HDRLEN); + dev->d_len -= (len + IPv4_HDRLEN); /* First, check if the sequence number of the incoming packet is * what we're expecting next. If not, we send out an ACK with the |