summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/net/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/net/ip.h')
-rw-r--r--nuttx/include/nuttx/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/net/ip.h b/nuttx/include/nuttx/net/ip.h
index b3a5e29dd..ddf62fa35 100644
--- a/nuttx/include/nuttx/net/ip.h
+++ b/nuttx/include/nuttx/net/ip.h
@@ -175,7 +175,7 @@ struct ipv6_hdr_s
#endif /* CONFIG_NET_IPv6 */
#ifdef CONFIG_NET_STATISTICS
-#ifdef CONFIG_NET_IPv6
+#ifdef CONFIG_NET_IPv4
struct ipv4_stats_s
{
net_stats_t drop; /* Number of dropped packets at the IP layer */