Merge pull request #14 from alagoutte/patch-2
Fix some typo on mod cisco FossilOrigin-Name: 202ae18989e01efe42f2ee53ced75d7d9d17437105e7582f9b5d0de4da3df78e
This commit is contained in:
commit
28a1e50d6b
@ -24,12 +24,12 @@ static int register_actions(struct cw_actiondef *actions, int mode)
|
|||||||
struct mod_ac *cmod = modload_ac("capwap");
|
struct mod_ac *cmod = modload_ac("capwap");
|
||||||
if (!cmod) {
|
if (!cmod) {
|
||||||
cw_log(LOG_ERR,
|
cw_log(LOG_ERR,
|
||||||
"Can't initzialize mod_cisco, failed to load base mod mod_capwap");
|
"Can't initialize mod_cisco, failed to load base mod mod_capwap");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
cmod->register_actions(actions, MOD_MODE_CAPWAP);
|
cmod->register_actions(actions, MOD_MODE_CAPWAP);
|
||||||
int rc = cisco_register_actions_ac(actions);
|
int rc = cisco_register_actions_ac(actions);
|
||||||
cw_dbg(DBG_INFO, "Initialized mod cisco with %d actions", rc);
|
cw_dbg(DBG_INFO, "Initialized mod_cisco with %d actions", rc);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case MOD_MODE_BINDINGS:
|
case MOD_MODE_BINDINGS:
|
||||||
@ -37,12 +37,12 @@ static int register_actions(struct cw_actiondef *actions, int mode)
|
|||||||
struct mod_ac *cmod = modload_ac("capwap80211");
|
struct mod_ac *cmod = modload_ac("capwap80211");
|
||||||
if (!cmod) {
|
if (!cmod) {
|
||||||
cw_log(LOG_ERR,
|
cw_log(LOG_ERR,
|
||||||
"Can't initzialize mod_cisco, failed to load base mod mod_capwap80211");
|
"Can't initialize mod_cisco, failed to load base mod mod_capwap80211");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
cmod->register_actions(actions, MOD_MODE_BINDINGS);
|
cmod->register_actions(actions, MOD_MODE_BINDINGS);
|
||||||
int rc = cisco_register_actions80211_ac(actions);
|
int rc = cisco_register_actions80211_ac(actions);
|
||||||
cw_dbg(DBG_INFO, "Initialized mod cisco 80211 with %d actions", rc);
|
cw_dbg(DBG_INFO, "Initialized mod_cisco 80211 with %d actions", rc);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user