From ca10c73802e3993e75f24721e4dfe604c83a9636 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 11 Jul 2014 15:06:36 +0400 Subject: Revert "shaper: apply rate multiplier to integer values" This reverts commit d3d02d2e1b415dd0b4a3832da3b852cacc9284a3. --- accel-pppd/shaper/shaper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index f3a83475..d5da0a6d 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -236,7 +236,7 @@ static void parse_attr(struct rad_attr_t *attr, int dir, int *speed, int *burst, if (attr->attr->type == ATTR_TYPE_STRING) parse_string(attr->val.string, dir, speed, burst, tr_id); else if (attr->attr->type == ATTR_TYPE_INTEGER) - *speed = conf_multiplier * attr->val.integer; + *speed = attr->val.integer; } static void check_radius_attrs(struct shaper_pd_t *pd, struct rad_packet_t *pack) -- cgit v1.2.3