From e0aaa87b1f880bc10a5356cee290bd212ed52761 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 17 Jun 2008 19:46:30 +0000 Subject: [PATCH] Increasing etharp error stats on unsupported ethtype in ethernet_input() --- src/netif/etharp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/netif/etharp.c b/src/netif/etharp.c index 810d932e..710200c0 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -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;