Teardown connection if receive packet in unknown state
This commit is contained in:
parent
6b1deb48aa
commit
98069694c5
@ -601,7 +601,8 @@ static void ac_dfa_execute(struct ac_session_t* session, struct capwap_parsed_pa
|
||||
}
|
||||
|
||||
default: {
|
||||
capwap_logging_debug("Unknown action event: %lu", session->state);
|
||||
capwap_logging_debug("Unknown AC action event: %lu", session->state);
|
||||
ac_session_teardown(session);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,8 @@ static void wtp_dfa_execute(struct capwap_parsed_packet* packet) {
|
||||
}
|
||||
|
||||
default: {
|
||||
capwap_logging_debug("Unknown action event: %lu", g_wtp.state);
|
||||
capwap_logging_debug("Unknown WTP action event: %lu", g_wtp.state);
|
||||
wtp_teardown_connection();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user