Drop packets if connection is teardown

This commit is contained in:
vemax78
2013-09-16 22:10:37 +02:00
parent 38b8207f0b
commit 08a8af0a70
6 changed files with 22 additions and 3 deletions

View File

@ -387,7 +387,7 @@ int wtp_dfa_running(void) {
}
if (index >= 0) {
if (action == WTP_DFA_DROP_PACKET) {
if ((action == WTP_DFA_DROP_PACKET) || g_wtp.teardown) {
/* Drop packet */
continue;
} else {