Fix IPv6 log
This commit is contained in:
parent
b412183c67
commit
e9610ec647
|
@ -1421,7 +1421,7 @@ uip_process(uint8_t flag)
|
||||||
if(uip_icmp6chksum() != 0xffff) {
|
if(uip_icmp6chksum() != 0xffff) {
|
||||||
UIP_STAT(++uip_stat.icmp.drop);
|
UIP_STAT(++uip_stat.icmp.drop);
|
||||||
UIP_STAT(++uip_stat.icmp.chkerr);
|
UIP_STAT(++uip_stat.icmp.chkerr);
|
||||||
LOG_ERR("icmpv6: bad checksum.");
|
LOG_ERR("icmpv6: bad checksum\n");
|
||||||
goto drop;
|
goto drop;
|
||||||
}
|
}
|
||||||
#endif /*UIP_CONF_IPV6_CHECKS*/
|
#endif /*UIP_CONF_IPV6_CHECKS*/
|
||||||
|
|
Loading…
Reference in New Issue