mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 00:15:16 +00:00
Increasing etharp error stats on unsupported ethtype in ethernet_input()
This commit is contained in:
parent
eba83ab740
commit
e0aaa87b1f
@ -1165,6 +1165,8 @@ ethernet_input(struct pbuf *p, struct netif *netif)
|
||||
#endif /* PPPOE_SUPPORT */
|
||||
|
||||
default:
|
||||
ETHARP_STATS_INC(etharp.proterr);
|
||||
ETHARP_STATS_INC(etharp.drop);
|
||||
pbuf_free(p);
|
||||
p = NULL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user