summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorEshenko Dmitriy <snooppy@mail.ua>2019-06-13 22:06:33 +0300
committerGitHub <noreply@github.com>2019-06-13 22:06:33 +0300
commitccd781b723de03a4f8560eb865e24b2eb004ced1 (patch)
treede24831c6d82d6f1e77868ff1a0054a8500ae750 /accel-pppd/shaper
parent35b6d11f2ec6884c5ef1385d1cf2dbd7e3745420 (diff)
downloadaccel-ppp-ccd781b723de03a4f8560eb865e24b2eb004ced1.tar.gz
accel-ppp-ccd781b723de03a4f8560eb865e24b2eb004ced1.zip
Update leaf_qdisc.c
Diffstat (limited to 'accel-pppd/shaper')
-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));