diff --git a/core/net/ipv6/uip-icmp6.c b/core/net/ipv6/uip-icmp6.c index a9dc9e352..8f5772833 100644 --- a/core/net/ipv6/uip-icmp6.c +++ b/core/net/ipv6/uip-icmp6.c @@ -38,7 +38,7 @@ /** * \file * ICMPv6 (RFC 4443) implementation, with message and error handling - * \author Julien Abeille + * \author Julien Abeille * \author Mathilde Durvy */ @@ -313,6 +313,10 @@ uip_icmp6_send(const uip_ipaddr_t *dest, int type, int code, int payload_len) UIP_ICMP_BUF->icmpchksum = ~uip_icmp6chksum(); uip_len = UIP_IPH_LEN + UIP_ICMPH_LEN + payload_len; + + UIP_STAT(++uip_stat.icmp.sent); + UIP_STAT(++uip_stat.ip.sent); + tcpip_ipv6_output(); } /*---------------------------------------------------------------------------*/