Work in progress...
FossilOrigin-Name: 3561660ac0a88972b23349d0d682fd5d61963f5c3086a265dfd5f8903ac0b95d
This commit is contained in:
parent
12f8ae06e4
commit
ef2ddd635a
@ -139,10 +139,10 @@ int main()
|
||||
// cw_register_actions_cipwap_wtp(&capwap_actions);
|
||||
// cw_register_actions_capwap_80211_wtp(&capwap_actions);
|
||||
//
|
||||
//#define CWMOD "cisco"
|
||||
//#define CWBIND "cisco"
|
||||
#define CWMOD "capwap"
|
||||
#define CWBIND "capwap80211"
|
||||
#define CWMOD "cisco"
|
||||
#define CWBIND "cisco"
|
||||
//#define CWMOD "capwap"
|
||||
//#define CWBIND "capwap80211"
|
||||
|
||||
|
||||
struct mod_wtp *mod = modload_wtp(CWMOD);
|
||||
@ -150,6 +150,8 @@ int main()
|
||||
printf("Can't load mod capwap\n");
|
||||
exit(0);
|
||||
}
|
||||
mod->init();
|
||||
|
||||
mod->register_actions(&capwap_actions,MOD_MODE_CAPWAP);
|
||||
mod = modload_wtp(CWBIND);
|
||||
if (!mod) {
|
||||
@ -195,6 +197,7 @@ int main()
|
||||
|
||||
cfg_from_json(conn);
|
||||
setup_conf(conn);
|
||||
mod_init_config(mod,conn->config);
|
||||
cfg_to_json();
|
||||
|
||||
mbag_t board_data = mbag_create();
|
||||
|
Loading…
Reference in New Issue
Block a user