mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 22:56:00 +00:00
Merge branch 'master' into ppp-new
This commit is contained in:
commit
78d52ad2de
|
@ -357,7 +357,7 @@ ip6_input(struct pbuf *p, struct netif *inp)
|
||||||
/* identify the IP header */
|
/* identify the IP header */
|
||||||
ip6hdr = (struct ip6_hdr *)p->payload;
|
ip6hdr = (struct ip6_hdr *)p->payload;
|
||||||
if (IP6H_V(ip6hdr) != 6) {
|
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)));
|
IP6H_V(ip6hdr)));
|
||||||
pbuf_free(p);
|
pbuf_free(p);
|
||||||
IP6_STATS_INC(ip6.err);
|
IP6_STATS_INC(ip6.err);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user