Better debug output
FossilOrigin-Name: 68380f69f4b36e6c759d98eaf3285c3c0f3ecde3be4492310778584f5608a44c
This commit is contained in:
parent
1c2e5d3061
commit
468d2f05a9
@ -31,8 +31,12 @@
|
||||
static int process_elem(void *w,int type,uint8_t* msgelem,int len)
|
||||
{
|
||||
struct wtpinfo * wtpinfo = (struct wtpinfo*)w;
|
||||
cw_dbg(DBG_CW_MSGELEM,"Process join req msgelem, type=%d (%s), len=%d",type,cw_msgelemtostr(type),len);
|
||||
cw_dbg_dmp(DBG_CW_MSGELEM_DMP,msgelem,len,"Dump for msgelem ...");
|
||||
|
||||
|
||||
cw_dbg_msgelem(CWMSG_JOIN_REQUEST, type, msgelem, len);
|
||||
|
||||
// cw_dbg(DBG_CW_MSGELEM,"Process join req msgelem, type=%d (%s), len=%d",type,cw_msgelemtostr(type),len);
|
||||
// cw_dbg_dmp(DBG_CW_MSGELEM_DMP,msgelem,len,"Dump for msgelem ...");
|
||||
|
||||
|
||||
if (wtpinfo_readelem_location_data(wtpinfo,type,msgelem,len))
|
||||
@ -65,6 +69,7 @@ static int process_elem(void *w,int type,uint8_t* msgelem,int len)
|
||||
if (wtpinfo_readelem_cw_local_ip_addr(wtpinfo,type,msgelem,len))
|
||||
return 1;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user