summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-02-16 00:16:41 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-02-16 00:16:41 +0400
commitc465d6c6da36adc3a4160de6fe618ae1aeaa102f (patch)
treeffa4e6ddee8a636f0699160b0adf125c482394f2 /accel-pppd/shaper
parent211f028919138cd2c6e3ddfb1fd8221a1273d894 (diff)
downloadaccel-ppp-c465d6c6da36adc3a4160de6fe618ae1aeaa102f.tar.gz
accel-ppp-c465d6c6da36adc3a4160de6fe618ae1aeaa102f.zip
shaper: fix incorrect htb rate installation
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r--accel-pppd/shaper/limiter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c
index d810594..65861f7 100644
--- a/accel-pppd/shaper/limiter.c
+++ b/accel-pppd/shaper/limiter.c
@@ -440,7 +440,7 @@ int install_limiter(struct ppp_t *ppp, int down_speed, int down_burst, int up_sp
if (conf_up_limiter == LIM_POLICE)
r = install_police(&rth, ppp->ifindex, up_speed, up_burst);
else
- r = install_htb_ifb(&rth, ppp->ifindex, ppp->unit_idx + 1, down_speed, down_burst);
+ r = install_htb_ifb(&rth, ppp->ifindex, ppp->unit_idx + 1, up_speed, up_burst);
rtnl_close(&rth);