summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorxebd <xeb@mail.ru>2019-06-20 07:38:32 +0300
committerGitHub <noreply@github.com>2019-06-20 07:38:32 +0300
commitcb603acd9ddb73936296e7223a3af3425d241375 (patch)
tree0d5a1503d696893ff7832ce24149f7c4d8686972 /accel-pppd
parent32d3468f2fa6d312f7ffbad453a31c16ce75b07e (diff)
parentccd781b723de03a4f8560eb865e24b2eb004ced1 (diff)
downloadaccel-ppp-cb603acd9ddb73936296e7223a3af3425d241375.tar.gz
accel-ppp-cb603acd9ddb73936296e7223a3af3425d241375.zip
Merge pull request #77 from DmitriyEshenko/patch-1
shaper: fix fq_codel
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/shaper/leaf_qdisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/shaper/leaf_qdisc.c b/accel-pppd/shaper/leaf_qdisc.c
index ef558533..94f99228 100644
--- a/accel-pppd/shaper/leaf_qdisc.c
+++ b/accel-pppd/shaper/leaf_qdisc.c
@@ -291,9 +291,9 @@ static int qdisc_fq_codel(struct qdisc_opt *qopt, struct nlmsghdr *n)
if (conf_lq_arg3)
addattr_l(n, 1024, TCA_FQ_CODEL_QUANTUM, &conf_lq_arg3, sizeof(conf_lq_arg3));
if (conf_lq_arg4)
- addattr_l(n, 1024, TCA_FQ_CODEL_INTERVAL, &conf_lq_arg4, sizeof(conf_lq_arg4));
+ addattr_l(n, 1024, TCA_FQ_CODEL_TARGET, &conf_lq_arg4, sizeof(conf_lq_arg4));
if (conf_lq_arg5)
- addattr_l(n, 1024, TCA_FQ_CODEL_TARGET, &conf_lq_arg5, sizeof(conf_lq_arg5));
+ addattr_l(n, 1024, TCA_FQ_CODEL_INTERVAL, &conf_lq_arg5, sizeof(conf_lq_arg5));
if (conf_lq_arg6 != -1)
addattr_l(n, 1024, TCA_FQ_CODEL_ECN, &conf_lq_arg6, sizeof(conf_lq_arg6));