提交 d7c79acd 编写于 作者: K Kozlov Dmitry

shaper: fixed reading 'rate-multiplier'

上级 c4bbf0d0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册