summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2021-05-25 17:28:58 +0500
committerVladislav Grishenko <themiron@mail.ru>2021-05-25 17:29:15 +0500
commitb621a9a3a5a554be1393d5ad33e23c5cea6385b9 (patch)
treef005355a04861cbd6948ea4a27720a61cb818bb6
parent60dadc2dc7dbf7632680e68be8d185c38dc618f8 (diff)
downloadaccel-ppp-b621a9a3a5a554be1393d5ad33e23c5cea6385b9.tar.gz
accel-ppp-b621a9a3a5a554be1393d5ad33e23c5cea6385b9.zip
shaper: fix fq_codel noecn regression
-rw-r--r--accel-pppd/shaper/leaf_qdisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/leaf_qdisc.c b/accel-pppd/shaper/leaf_qdisc.c
index 996d95f..6222314 100644
--- a/accel-pppd/shaper/leaf_qdisc.c
+++ b/accel-pppd/shaper/leaf_qdisc.c
@@ -147,7 +147,7 @@ static int parse_fq_codel(char *str)
if (strcmp(key, "ecn") == 0) {
conf_lq_arg6 = 1;
continue;
- } else if (strcmp(str, "noecn") == 0) {
+ } else if (strcmp(key, "noecn") == 0) {
conf_lq_arg6 = 0;
continue;
}