Add management backend for close WTP sessions or reset a WTP
This commit is contained in:
@ -157,6 +157,4 @@ void wtp_dfa_state_dtlsteardown(struct capwap_parsed_packet* packet, struct time
|
||||
capwap_set_timeout(0, timeout, CAPWAP_TIMER_CONTROL_CONNECTION);
|
||||
wtp_dfa_change_state(CAPWAP_IDLE_STATE);
|
||||
}
|
||||
|
||||
/* TODO controllare se <20> richiesto il ravvio del sistema */
|
||||
}
|
||||
|
@ -6,6 +6,9 @@
|
||||
void wtp_dfa_state_reset(struct capwap_parsed_packet* packet, struct timeout_control* timeout) {
|
||||
ASSERT(timeout != NULL);
|
||||
|
||||
/* TODO */
|
||||
/* Teardown connection and close application */
|
||||
g_wtp.running = 0;
|
||||
wtp_teardown_connection(timeout);
|
||||
|
||||
/* TODO schedule reboot device */
|
||||
}
|
||||
|
Reference in New Issue
Block a user