Mods are detected

FossilOrigin-Name: a2bfbb518739fcc8f547950c91afbff7569cc820dea93d70654c0d313e0ec810
This commit is contained in:
7u83@mail.ru
2018-02-26 19:18:53 +00:00
parent 6ebf54dbbd
commit d53346d250
9 changed files with 66 additions and 25 deletions

View File

@ -133,12 +133,10 @@ static cw_msgdef_t messages[] = {
struct cw_MsgSet * capwap_register_msg_set(struct cw_MsgSet * set, int mode){
printf("Register Message set %p\n",set);
if (mode != CW_MOD_MODE_CAPWAP)
return NULL;
cw_msgset_add(set,messages);
printf("Done Addin gmessages");
exit(0);
return set;
}
void test_sets(){

View File

@ -171,7 +171,8 @@ static struct cw_Mod capwap_ac = {
.name = "cisco",
.init = init,
.detect = detect,
.register_actions = register_actions,
// .register_actions = register_actions,
};
struct cw_Mod *mod_cisco_ac()