From 5caff5290c653824117a8c00dca7e1991b05a7a9 Mon Sep 17 00:00:00 2001 From: Atis Elsts Date: Sun, 10 Dec 2017 20:03:49 +0000 Subject: [PATCH] Readd back 'uip_stat' if UIP_STATISTICS is enabled --- os/net/ipv6/uip6.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/net/ipv6/uip6.c b/os/net/ipv6/uip6.c index 55c7d7980..4ae366d2f 100644 --- a/os/net/ipv6/uip6.c +++ b/os/net/ipv6/uip6.c @@ -98,6 +98,10 @@ #define LOG_MODULE "IPv6" #define LOG_LEVEL LOG_LEVEL_IPV6 +#if UIP_STATISTICS == 1 +struct uip_stats uip_stat; +#endif /* UIP_STATISTICS == 1 */ + /*---------------------------------------------------------------------------*/ /** * \name Layer 2 variables