summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
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