diff options
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r-- | accel-pppd/shaper/shaper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index 8b5e0a12..09f03f39 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -900,7 +900,7 @@ static void load_config(void) conf_verbose = atoi(opt) > 0; opt = conf_get_opt("shaper", "rate-multiplier"); - if (opt && atoi(opt) >= 0) + if (opt && atof(opt) > 0) conf_multiplier = atof(opt); else conf_multiplier = 1; |