From 0eca484ac53e7bd161698a8205204deb836e6727 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Wed, 13 Aug 2014 08:31:29 +0000 Subject: [PATCH] Does now some debugging output. FossilOrigin-Name: 88c2a66ce32c948f846cf487e7b0661b8e0b5cdb68b6f24b89642bcba8997680 --- src/capwap/process_join_request.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/capwap/process_join_request.c b/src/capwap/process_join_request.c index 768200ae..07c4add0 100644 --- a/src/capwap/process_join_request.c +++ b/src/capwap/process_join_request.c @@ -26,10 +26,14 @@ #include "wtpinfo.h" #include "cw_util.h" +#include "cw_log.h" static int process_elem(void *w,int type,uint8_t* msgelem,int len) { struct wtpinfo * wtpinfo = (struct wtpinfo*)w; + cw_log_debug0("Process join req msgelem, type=%d (%s), len=%d",type,cw_msgelemtostr(type),len); + cw_log_debug1_dump(msgelem,len,"Dump for msgelem ..."); + if (wtpinfo_readelem_location_data(wtpinfo,type,msgelem,len)) return 1;