From 34e28a36f6dae28990ceed7b725503e38eea356a Mon Sep 17 00:00:00 2001 From: stefan Date: Tue, 30 Nov 2010 19:48:57 +0000 Subject: [PATCH] - add some debug messages git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@302 315a16e6-25f9-4109-90ae-ca3045a26c18 --- kernel/ping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }