summaryrefslogtreecommitdiff
path: root/nuttx/net/icmpv6
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/icmpv6')
-rw-r--r--nuttx/net/icmpv6/icmpv6_input.c2
-rw-r--r--nuttx/net/icmpv6/icmpv6_ping.c2
-rw-r--r--nuttx/net/icmpv6/icmpv6_send.c2
-rw-r--r--nuttx/net/icmpv6/icmpv6_solicit.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/net/icmpv6/icmpv6_input.c b/nuttx/net/icmpv6/icmpv6_input.c
index db808a5ce..99ec16783 100644
--- a/nuttx/net/icmpv6/icmpv6_input.c
+++ b/nuttx/net/icmpv6/icmpv6_input.c
@@ -326,7 +326,7 @@ void icmpv6_input(FAR struct net_driver_s *dev)
#ifdef CONFIG_NET_STATISTICS
g_netstats.icmpv6.sent++;
- g_netstats.ip.sent++;
+ g_netstats.ipv6.sent++;
#endif
return;
diff --git a/nuttx/net/icmpv6/icmpv6_ping.c b/nuttx/net/icmpv6/icmpv6_ping.c
index f389bcca1..22dea3b69 100644
--- a/nuttx/net/icmpv6/icmpv6_ping.c
+++ b/nuttx/net/icmpv6/icmpv6_ping.c
@@ -229,7 +229,7 @@ static void icmpv6_echo_request(FAR struct net_driver_s *dev,
#ifdef CONFIG_NET_STATISTICS
g_netstats.icmpv6.sent++;
- g_netstats.ip.sent++;
+ g_netstats.ipv6.sent++;
#endif
}
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
}
}
diff --git a/nuttx/net/icmpv6/icmpv6_solicit.c b/nuttx/net/icmpv6/icmpv6_solicit.c
index 6e23119e0..01afa1953 100644
--- a/nuttx/net/icmpv6/icmpv6_solicit.c
+++ b/nuttx/net/icmpv6/icmpv6_solicit.c
@@ -223,7 +223,7 @@ void icmpv6_solicit(FAR struct net_driver_s *dev,
#ifdef CONFIG_NET_STATISTICS
g_netstats.icmpv6.sent++;
- g_netstats.ip.sent++;
+ g_netstats.ipv6.sent++;
#endif
}