summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author刘畅 <[email protected]>2023-06-06 08:17:01 +0000
committer刘畅 <[email protected]>2023-06-06 08:17:01 +0000
commitce2cd7c94ca0e5e7c173fd72cf4c732c66673ee9 (patch)
tree64912c7f4e2e7676e47bdbac35fa89e208568da8
parent038fb1788f3680a04f29c718f17c6cecc41449a2 (diff)
parentd985c4496ce11b489bda08b3db41b54fc76bf75b (diff)
Merge branch 'init_flow_with_priority_9' into 'rel'
init flow with priority 9 See merge request tango/shaping-engine!26
-rw-r--r--shaping/src/shaper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaping/src/shaper.cpp b/shaping/src/shaper.cpp
index 0943932..3ca1ae3 100644
--- a/shaping/src/shaper.cpp
+++ b/shaping/src/shaper.cpp
@@ -148,7 +148,7 @@ struct shaping_flow* shaping_flow_new()
TAILQ_INIT(&s_node->shaping_flow.packet_queue);
s_node->shaping_flow.ref_count = 1;
- s_node->shaping_flow.priority = SHAPING_PRIORITY_NUM_MAX;
+ s_node->shaping_flow.priority = SHAPING_PRIORITY_NUM_MAX - 1;
return &s_node->shaping_flow;