TSG-15642: 获取原始包返回值逻辑错误导致ICMP数据包未发送

This commit is contained in:
liuxueli
2023-07-05 16:42:29 +08:00
parent 4237a4a970
commit 8b469b6137
2 changed files with 16 additions and 45 deletions

View File

@@ -1754,7 +1754,7 @@ static unsigned char matched_security_rules_deal(const struct streaminfo *a_stre
}
}
if(srt_process_context->proto==PROTO_HTTP || srt_process_context->proto==PROTO_SSL)
if((srt_process_context->proto==PROTO_HTTP || srt_process_context->proto==PROTO_SSL) && state&APP_STATE_DROPME)
{
state|=APP_STATE_KILL_OTHER;
}