*register* functions are returning the number of elements registered.
FossilOrigin-Name: 5b1f1ed4dbc6eae4d2735822802a15c3f0a410fcb8a65c8f1373b03f9c2b2fb0
This commit is contained in:
@ -161,12 +161,12 @@ cw_action_out_t cipwap_actions_ac_out[] = {
|
||||
*/
|
||||
int cw_register_actions_cipwap_ac(struct cw_actiondef *def)
|
||||
{
|
||||
cw_register_actions_capwap_ac(def);
|
||||
int rc;
|
||||
rc=cw_register_actions_capwap_ac(def);
|
||||
|
||||
cw_actionlist_in_register_actions(def->in, cipwap_actions_ac_in);
|
||||
cw_actionlist_out_register_actions(def->out, cipwap_actions_ac_out);
|
||||
cw_strheap_register_strings(def->strelem,cipwap_strings_elem);
|
||||
|
||||
return 1;
|
||||
rc+=cw_actionlist_in_register_actions(def->in, cipwap_actions_ac_in);
|
||||
rc+=cw_actionlist_out_register_actions(def->out, cipwap_actions_ac_out);
|
||||
rc+=cw_strheap_register_strings(def->strelem,cipwap_strings_elem);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user