From 3458ef9f7916d3886ec790f2e4bd4fc1c1be5cd6 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Tue, 4 Jul 2023 15:15:27 +0800 Subject: [PATCH] =?UTF-8?q?TSG-15591,=20TSG-14336:=20=E5=91=BD=E4=B8=ADdro?= =?UTF-8?q?p=20after=20N=20packet=E7=AD=96=E7=95=A5=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8N=E4=B8=AApacket=E6=9C=9F=E9=97=B4=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E7=BB=A7=E7=BB=AD=E5=A4=84=E7=90=86=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsg_action.cpp b/src/tsg_action.cpp index 3aa332e..b125511 100644 --- a/src/tsg_action.cpp +++ b/src/tsg_action.cpp @@ -912,7 +912,7 @@ static unsigned char tsg_do_deny_action(const struct streaminfo *a_stream, struc srt_action_context_set_after_n_packet(a_stream, user_region->deny->after_n_packets, a_stream->threadnum); } - local_state=((type==ACTION_RETURN_TYPE_PROT) ? (STATE_DROPME) : (STATE_DROPME|STATE_KILL_OTHER)); + local_state=STATE_GIVEME; break; }