提交 b498b81e 编写于 作者: D Dmitry Kozlov

shaper: properly handle Cisco-AVPair

上级 9f11527f
......@@ -187,6 +187,9 @@ static void parse_string(const char *str, int dir, int *speed, int *burst, int *
}
}
if (conf_vendor == 9)
return;
val = strtol(str, &endptr, 10);
if (*endptr == 0) {
*speed = conf_multiplier * val;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册