Working on mods.
FossilOrigin-Name: 7652cbc79f78c5605c07225eb1b5500286f3246b61cb1b96734d0f208570ae67
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
|
||||
#include "capwap/mod.h"
|
||||
#include "capwap/log.h"
|
||||
|
||||
#include "mod_cipwap.h"
|
||||
|
||||
|
||||
@ -10,11 +12,23 @@ int cipwap_init()
|
||||
}
|
||||
|
||||
|
||||
static int detect(struct conn *conn,const uint8_t *rawmsg, int rawlen,struct sockaddr *from)
|
||||
{
|
||||
cw_log(LOG_INFO,"Detecting ...");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static struct mod_ac cipwap_ac = {
|
||||
.name ="cipwap",
|
||||
.init = cipwap_init,
|
||||
.name ="cipwap"
|
||||
.detect = detect
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
struct mod_ac * mod_cipwap_ac(){
|
||||
return &cipwap_ac;
|
||||
};
|
||||
|
Reference in New Issue
Block a user