register function counts elements now.
FossilOrigin-Name: a2954b6a4b52ebb7e3d3a565270daa2ad3a324f6eb0b8ae4c428c4b888f93b4f
This commit is contained in:
parent
ab9ed74a65
commit
9875f24b85
@ -51,16 +51,15 @@ cw_action_out_t capwap_80211_actions_ac_out[]={
|
|||||||
int cw_register_actions_capwap_80211_ac(struct cw_actiondef *def)
|
int cw_register_actions_capwap_80211_ac(struct cw_actiondef *def)
|
||||||
{
|
{
|
||||||
|
|
||||||
cw_actionlist_in_register_actions(def->in, capwap_80211_actions_ac_in);
|
|
||||||
cw_actionlist_out_register_actions(def->out, capwap_80211_actions_ac_out);
|
|
||||||
|
|
||||||
int rc;
|
int rc;
|
||||||
rc = cw_strheap_register_strings(def->strelem, capwap_strings_elem80211);
|
rc=cw_actionlist_in_register_actions(def->in, capwap_80211_actions_ac_in);
|
||||||
printf("80211 Registerd %d\n",rc);
|
rc+=cw_actionlist_out_register_actions(def->out, capwap_80211_actions_ac_out);
|
||||||
|
|
||||||
|
rc+= cw_strheap_register_strings(def->strelem, capwap_strings_elem80211);
|
||||||
/*rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem);
|
/*rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user