summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-09-30 17:39:48 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-09-30 17:39:48 +0400
commit8a7290359a446ce04c468b2a598ca75a6e2a9611 (patch)
tree460f793802c1a8bd58b88e5c6393ef614520c3bc /accel-pppd/shaper
parentb5fb72e983f6a2eaa8a52b713e9c7890652f8071 (diff)
downloadaccel-ppp-8a7290359a446ce04c468b2a598ca75a6e2a9611.tar.gz
accel-ppp-8a7290359a446ce04c468b2a598ca75a6e2a9611.zip
shaper: fixed parsing leaf-qdisc
Diffstat (limited to 'accel-pppd/shaper')
-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 cdc9eed3..a2628e0a 100644
--- a/accel-pppd/shaper/leaf_qdisc.c
+++ b/accel-pppd/shaper/leaf_qdisc.c
@@ -235,7 +235,7 @@ void leaf_qdisc_parse(const char *opt)
if (parse_sfq(ptr1))
goto out_err;
#ifdef TCA_FQ_CODEL_MAX
- } if (strcmp(str, "fq_codel") == 0) {
+ } else if (strcmp(str, "fq_codel") == 0) {
if (parse_fq_codel(ptr1))
goto out_err;
#endif