summaryrefslogtreecommitdiff
path: root/nuttx/net/icmpv6/icmpv6_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/icmpv6/icmpv6_send.c')
-rw-r--r--nuttx/net/icmpv6/icmpv6_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/icmpv6/icmpv6_send.c b/nuttx/net/icmpv6/icmpv6_send.c
index 0464aa274..1f39e7614 100644
--- a/nuttx/net/icmpv6/icmpv6_send.c
+++ b/nuttx/net/icmpv6/icmpv6_send.c
@@ -137,7 +137,7 @@ void icmpv6_send(FAR struct net_driver_s *dev, FAR net_ipv6addr_t *destaddr)
#ifdef CONFIG_NET_STATISTICS
g_netstats.icmpv6.sent++;
- g_netstats.ip.sent++;
+ g_netstats.ipv6.sent++;
#endif
}
}