Better debug options for mods.
FossilOrigin-Name: 4fd4dd16e470f78d30afa54005a70452c95b6499c789c3bcb2a4fc73397e32f3
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
|
||||
#include "cw/mod.h"
|
||||
#include "cw/log.h"
|
||||
#include "cw/dbg.h"
|
||||
|
||||
#include "mod_cipwap.h"
|
||||
|
||||
@ -14,8 +15,10 @@ int cipwap_init()
|
||||
|
||||
static int detect(struct conn *conn,const uint8_t *rawmsg, int rawlen,int elems_len, struct sockaddr *from, int mode)
|
||||
{
|
||||
if (mode != MOD_DETECT_CAPWAP)
|
||||
return 0;
|
||||
|
||||
cw_log(LOG_INFO,"Detecting ...");
|
||||
cw_dbg(DBG_MOD,"CIPWAP detected: no");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user