]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Fixed typo in debug formatting in ip6.c
author"Grant Erickson" <marathon96@gmail.com>
Fri, 14 Dec 2012 23:08:24 +0000 (16:08 -0700)
committerIvan Delamer <delamer@inicotech.com>
Fri, 14 Dec 2012 23:08:24 +0000 (16:08 -0700)
src/core/ipv6/ip6.c

index 6a8cafe063c19da433f4ef37b031336d77f061ab..4818e77c8e2b18782a615a78ca1b2668ed12bed1 100644 (file)
@@ -357,7 +357,7 @@ ip6_input(struct pbuf *p, struct netif *inp)
   /* identify the IP header */
   ip6hdr = (struct ip6_hdr *)p->payload;
   if (IP6H_V(ip6hdr) != 6) {
-    LWIP_DEBUGF(IP6_DEBUG | LWIP_DBG_LEVEL_WARNING, ("IPv6 packet dropped due to bad version number %"U16_F"\n",
+    LWIP_DEBUGF(IP6_DEBUG | LWIP_DBG_LEVEL_WARNING, ("IPv6 packet dropped due to bad version number %"U32_F"\n",
         IP6H_V(ip6hdr)));
     pbuf_free(p);
     IP6_STATS_INC(ip6.err);