diff options
| author | liuxueli <[email protected]> | 2023-03-25 20:13:23 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-03-25 20:13:23 +0800 |
| commit | d211aa1811bb8285a717498ac0275c10af4ae066 (patch) | |
| tree | d7c462db91c63737b440877ab967b914e8fdc093 /src/tsg_rule.cpp | |
| parent | 3d96907ab7baed0b96eb201231ff392accfe8a8f (diff) | |
TSG-14453: 执行enforce_direction_rule且发送日后立即释放enforce_direction_rule,避免多次执行v5.8.15
Diffstat (limited to 'src/tsg_rule.cpp')
| -rw-r--r-- | src/tsg_rule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp index 229cf22..06b835b 100644 --- a/src/tsg_rule.cpp +++ b/src/tsg_rule.cpp @@ -3417,7 +3417,7 @@ int tsg_set_bucket_to_tcpall(const struct streaminfo *a_stream, struct tcpall_co { case TSG_METHOD_TYPE_RATE_LIMIT: *context=_context; - return 1; + return 0; break; case TSG_METHOD_TYPE_DEFAULT: case TSG_METHOD_TYPE_UNKNOWN: |
