- 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:
parent
c3c7468208
commit
34e28a36f6
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue