From 48dbb9e61c675417b80437f0a86f625474bb20b3 Mon Sep 17 00:00:00 2001 From: yangwei Date: Mon, 17 Apr 2023 19:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(matched=5Fsecurity=5Frules?= =?UTF-8?q?=5Fdeal):=20=E5=91=BD=E4=B8=ADAllow=E5=90=8E=EF=BC=8C=E7=94=B1k?= =?UTF-8?q?ill=5Fother=E6=94=B9=E4=B8=BAkill=5Ffollow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index e03f538..0c2f797 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1446,7 +1446,7 @@ static unsigned char matched_security_rules_deal(const struct streaminfo *a_stre srt_process_context->hited_result=(struct maat_rule *)dictator_malloc(1, sizeof(struct maat_rule)); memcpy(srt_process_context->hited_result, p_rule, sizeof(struct maat_rule)); FS_operate(g_tsg_para.fs2_handle, g_tsg_para.fs2_field_id[TSG_FS2_BYPASS], 0, FS_OP_ADD, 1); - state=APP_STATE_GIVEME|APP_STATE_KILL_OTHER; + state=APP_STATE_GIVEME|APP_STATE_KILL_FOLLOW; srt_action_context_set_rule_method(a_stream, TSG_METHOD_TYPE_ALLOW, a_stream->threadnum); break;