summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-15 21:56:30 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-15 21:56:30 +0300
commit56762d9574d05bff9709c856f9f466c51156f549 (patch)
treeceadbd7d1fd9c77e2e95fe05ece7090abe68df92 /accel-pppd
parent1d338e573cf37bab6131ef5370c2b6d82cdf25ee (diff)
downloadaccel-ppp-xebd-56762d9574d05bff9709c856f9f466c51156f549.tar.gz
accel-ppp-xebd-56762d9574d05bff9709c856f9f466c51156f549.zip
tbf: fixed incorrect burst value of policer
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/extra/shaper_tbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/extra/shaper_tbf.c b/accel-pppd/extra/shaper_tbf.c
index 43f502c..ddd7e35 100644
--- a/accel-pppd/extra/shaper_tbf.c
+++ b/accel-pppd/extra/shaper_tbf.c
@@ -711,7 +711,7 @@ static void ev_radius_access_accept(struct ev_radius_t *ev)
down_speed = pd->cur_tr->down_speed;
up_speed = pd->cur_tr->up_speed;
down_burst = pd->cur_tr->down_burst;
- up_burst = pd->cur_tr->up_speed;
+ up_burst = pd->cur_tr->up_burst;
}
if (down_speed > 0 && up_speed > 0) {