diff --git a/kernel/ping.c b/kernel/ping.c index 09a382bf..c9f3f18b 100644 --- a/kernel/ping.c +++ b/kernel/ping.c @@ -58,7 +58,7 @@ * PING_DEBUG: Enable debugging for PING. */ #ifndef PING_DEBUG -#define PING_DEBUG LWIP_DBG_ON +#define PING_DEBUG 1 #endif /** ping target - should be a "struct ip_addr" */ @@ -300,6 +300,7 @@ ping_raw_init(void) struct raw_pcb *pcb; if (!(pcb = raw_new(IP_PROTO_ICMP))) { + LWIP_DEBUGF( PING_DEBUG, ("ping: raw_new failed!")); return; }