diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-02-28 13:25:37 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-02-28 13:47:57 +0400 |
commit | cf40442a413d04379711bd73a52372d3a3264ea4 (patch) | |
tree | 2695fa77df3478ceb6a5feea7c04ce86e7959a71 /accel-pppd/shaper/limiter.c | |
parent | 0144238b8e364dac353797368fe45cda5426d88d (diff) | |
download | accel-ppp-cf40442a413d04379711bd73a52372d3a3264ea4.tar.gz accel-ppp-cf40442a413d04379711bd73a52372d3a3264ea4.zip |
shaper: add cburst configuration option
Diffstat (limited to 'accel-pppd/shaper/limiter.c')
-rw-r--r-- | accel-pppd/shaper/limiter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c index ab0e67a4..6becb395 100644 --- a/accel-pppd/shaper/limiter.c +++ b/accel-pppd/shaper/limiter.c @@ -110,7 +110,7 @@ static int qdisc_htb_class(struct qdisc_opt *qopt, struct nlmsghdr *n) log_ppp_error("shaper: failed to calculate ceil rate table.\n"); return -1; } - opt.cbuffer = tc_calc_xmittime(opt.ceil.rate, qopt->buffer); + opt.cbuffer = tc_calc_xmittime(opt.ceil.rate, conf_cburst); tail = NLMSG_TAIL(n); addattr_l(n, 1024, TCA_OPTIONS, NULL, 0); |