reset WTP state when going into DTLS TD

This commit is contained in:
Andreas Schultz
2016-03-26 21:08:25 +01:00
parent 7eddb74767
commit a3c2e52d3c
4 changed files with 21 additions and 5 deletions

View File

@ -77,9 +77,7 @@ static void wtp_dfa_state_dtlsteardown_timeout(struct capwap_timeout* timeout,
}
/* */
wtp_free_reference_last_request();
wtp_free_reference_last_response();
wtp_free_packet_rxmng();
wtp_reset_state();
/* */
if (!g_wtp.running) {