From cf40442a413d04379711bd73a52372d3a3264ea4 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 28 Feb 2012 13:25:37 +0400 Subject: shaper: add cburst configuration option --- accel-pppd/shaper/limiter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd/shaper/limiter.c') 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); -- cgit v1.2.3