- add some debug messages

git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@302 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
stefan 2010-11-30 19:48:57 +00:00
parent c3c7468208
commit 34e28a36f6

View file

@ -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;
}