diff options
Diffstat (limited to 'nuttx/drivers/net/slip.c')
-rw-r--r-- | nuttx/drivers/net/slip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/net/slip.c b/nuttx/drivers/net/slip.c index 29cc94b26..665cebaf2 100644 --- a/nuttx/drivers/net/slip.c +++ b/nuttx/drivers/net/slip.c @@ -705,7 +705,7 @@ static int slip_rxtask(int argc, FAR char *argv[]) * enough to hold an IP header. */ - if (priv->rxlen >= IP_HDRLEN) + if (priv->rxlen >= IPv4_HDRLEN) { /* Handle the IP input. Get exclusive access to uIP. */ |