diff options
| author | 刘学利 <[email protected]> | 2022-02-11 02:59:23 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2022-02-11 02:59:23 +0000 |
| commit | 0546bb3ea4c726d7bab5891b15e7e5cb2fe2af78 (patch) | |
| tree | b08c4650e58a77dd8319224cd7512a7cf3689cad /src/tsg_action.cpp | |
| parent | d5ef785cb97b329af964923b53ea0b2005334bc6 (diff) | |
TSG-9156 支持对Stratum协议进行策略扫描和处理v5.5.1
Diffstat (limited to 'src/tsg_action.cpp')
| -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 b321f87..5be0500 100644 --- a/src/tsg_action.cpp +++ b/src/tsg_action.cpp @@ -865,7 +865,7 @@ static unsigned char tsg_do_deny_action(const struct streaminfo *a_stream, struc tsg_notify_hited_monitor_result(a_stream, p_result, 1, a_stream->threadnum); - if(method_type!=TSG_METHOD_TYPE_DEFAULT) + if(method_type!=TSG_METHOD_TYPE_DEFAULT && method_type!=TSG_METHOD_TYPE_APP_DROP) { struct tcpall_context *context=NULL; tsg_set_method_to_tcpall(a_stream, &context, (enum TSG_METHOD_TYPE)method_type, a_stream->threadnum); |
