diff options
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/shaper/limiter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c index 647e03f5..e3e27cbd 100644 --- a/accel-pppd/shaper/limiter.c +++ b/accel-pppd/shaper/limiter.c @@ -552,11 +552,11 @@ int install_limiter(struct ap_session *ses, int down_speed, int down_burst, int down_speed = down_speed * 1000 / 8; down_burst = down_burst ? down_burst : conf_down_burst_factor * down_speed; - if (conf_down_limiter == LIM_TBF) + if (conf_down_limiter == LIM_TBF) { r = install_tbf(rth, ses->ifindex, down_speed, down_burst); if (r == 0) r = install_leaf_qdisc(rth, ses->ifindex, 0x00010000, 0x00020000); - else if (conf_down_limiter == LIM_CLSACT) + } else if (conf_down_limiter == LIM_CLSACT) r = install_clsact(rth, ses->ifindex, down_speed, down_burst); else { r = install_htb(rth, ses->ifindex, down_speed, down_burst); |