summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-07-11 15:06:36 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-07-11 15:06:36 +0400
commitca10c73802e3993e75f24721e4dfe604c83a9636 (patch)
tree43f11f397f1aeeb319b050074db46a27022288a5
parent894cd3e7aa89ee0139dd1ba132391db802ffd55b (diff)
downloadaccel-ppp-ca10c73802e3993e75f24721e4dfe604c83a9636.tar.gz
accel-ppp-ca10c73802e3993e75f24721e4dfe604c83a9636.zip
Revert "shaper: apply rate multiplier to integer values"
This reverts commit d3d02d2e1b415dd0b4a3832da3b852cacc9284a3.
-rw-r--r--accel-pppd/shaper/shaper.c2
1 files changed, 1 insertions, 1 deletions
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)