summaryrefslogtreecommitdiff
path: root/shaping/src/shaper.cpp
diff options
context:
space:
mode:
authorroot <[email protected]>2024-01-11 03:56:10 +0000
committerroot <[email protected]>2024-01-11 03:56:10 +0000
commitc2dff5b069cbc7567d406493c65d63381122bc60 (patch)
treefc619dc01717e6facf3e6488d116b0afec734358 /shaping/src/shaper.cpp
parent969082ccf054b6a087ef22513b48dd5d53a9a519 (diff)
TSG-18176: revert change
Diffstat (limited to 'shaping/src/shaper.cpp')
-rw-r--r--shaping/src/shaper.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/shaping/src/shaper.cpp b/shaping/src/shaper.cpp
index 9f99ffd..9ca8a28 100644
--- a/shaping/src/shaper.cpp
+++ b/shaping/src/shaper.cpp
@@ -728,9 +728,6 @@ static int shaper_token_consume(struct shaping_thread_ctx *ctx, struct shaping_f
}
struct shaping_rule_info *rule = &sf->matched_rule_infos[sf->anchor];
- if (rule->has_dup_profile) {
- return SHAPER_TOKEN_GET_PASS;//dup profile, don't need to get token and forward packet
- }
time_t curr_time = time(NULL);
if (curr_time - sf->check_rule_time >= ctx->conf.check_rule_enable_interval_sec) {