diff --git a/src/capwap/capwap_actions_ac.c b/src/capwap/capwap_actions_ac.c index 9f3afd23..ea85ffa9 100644 --- a/src/capwap/capwap_actions_ac.c +++ b/src/capwap/capwap_actions_ac.c @@ -22,6 +22,7 @@ #include "capwap_items.h" #include "capwap_actions.h" #include "strheap.h" +#include "radio.h" @@ -372,6 +373,7 @@ int cw_register_actions_capwap_ac(struct cw_actiondef *def) def->strelem = cw_strheap_create(); def->wbids = intavltree_create(); def->items = cw_itemdefheap_create(); + def->radioitems = cw_itemdefheap_create(); int rc; rc = cw_actionlist_in_register_actions(def->in, capwap_actions_ac_in); @@ -381,7 +383,7 @@ int cw_register_actions_capwap_ac(struct cw_actiondef *def) rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem); rc += cw_itemdefheap_register(def->items,capwap_itemdefs); - + rc += cw_itemdefheap_register(def->radioitems,capwap_radioitemdefs); intavltree_add(def->wbids,0); diff --git a/src/capwap/capwap_actions_wtp.c b/src/capwap/capwap_actions_wtp.c index 2d043930..4502aa23 100644 --- a/src/capwap/capwap_actions_wtp.c +++ b/src/capwap/capwap_actions_wtp.c @@ -22,6 +22,7 @@ #include "capwap_items.h" #include "capwap_actions.h" #include "strheap.h" +#include "radio.h" @@ -369,6 +370,10 @@ int cw_register_actions_capwap_wtp(struct cw_actiondef *def) def->out = cw_actionlist_out_create(); def->strmsg = cw_strheap_create(); def->strelem = cw_strheap_create(); + def->items = cw_itemdefheap_create(); + def->radioitems = cw_itemdefheap_create(); + + int rc; @@ -378,5 +383,8 @@ int cw_register_actions_capwap_wtp(struct cw_actiondef *def) rc += cw_strheap_register_strings(def->strmsg, capwap_strings_msg); rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem); + rc += cw_itemdefheap_register(def->items,capwap_itemdefs); + rc += cw_itemdefheap_register(def->radioitems,capwap_radioitemdefs); + return rc; }