diff options
| author | liuxueli <[email protected]> | 2023-07-04 15:15:27 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-07-04 15:15:27 +0800 |
| commit | 3458ef9f7916d3886ec790f2e4bd4fc1c1be5cd6 (patch) | |
| tree | b8384325b11e8b21724a465e40fc79b567f4fd30 | |
| parent | 02e880ebd080078bc1f911e6a262490fb6d8cfc5 (diff) | |
TSG-15591, TSG-14336: 命中drop after N packet策略时,在N个packet期间插件可以继续处理其他策略v6.0.31
| -rw-r--r-- | src/tsg_action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
