diff --git a/src/mod/capwap/capwap_actions_ac.c b/src/mod/capwap/capwap_actions_ac.c index d9d18801..c1225188 100644 --- a/src/mod/capwap/capwap_actions_ac.c +++ b/src/mod/capwap/capwap_actions_ac.c @@ -502,7 +502,9 @@ static cw_action_out_t actions_out[]={ } , - /* --------------------------------------------------- + + + /* -------------------------------------------------------------------------- * Join Response Message */ @@ -562,9 +564,8 @@ static cw_action_out_t actions_out[]={ , - - /* --------------------------------------------------- - * Configuration Status Response Message + /* -------------------------------------------------------------------------- + * Configuration Status Response Message - OUT */ { diff --git a/src/mod/capwap/capwap_actions_wtp.c b/src/mod/capwap/capwap_actions_wtp.c index ff19a2f3..fc3fc791 100644 --- a/src/mod/capwap/capwap_actions_wtp.c +++ b/src/mod/capwap/capwap_actions_wtp.c @@ -199,10 +199,26 @@ static cw_action_in_t actions_in[] = { .start = cw_in_generic2, .min_len = 4, .max_len = 4, - .mand = 0 + .mand = 1 } , + /* Capwap Timers - Config Status Resp */ + { + .capwap_state = CW_STATE_CONFIGURE, + .msg_id = CW_MSG_CONFIGURATION_STATUS_RESPONSE, + .elem_id = CW_ELEM_CAPWAP_TIMERS, + .item_id = CW_ITEM_CAPWAP_TIMERS, + .start = cw_in_generic2, + .min_len = 2, + .max_len = 2, + .mand = 1 + } + , + + + + /* Result Code - Config Status Resp */ { .capwap_state = CW_STATE_CONFIGURE, diff --git a/src/wtp/configure.c b/src/wtp/configure.c index 5d177296..b3e51ced 100644 --- a/src/wtp/configure.c +++ b/src/wtp/configure.c @@ -15,7 +15,6 @@ int configure() mbag_del_all(conn->incomming); - printf("Putting AC NAME\n"); mbag_set_str(conn->local,CW_ITEM_AC_NAME,"abc");