From e09279c7491a8bd16a25b123e03ddd0cd77b566d Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Sat, 22 Nov 2014 16:02:32 +0300 Subject: shaper: fixed parsing rate as single string --- accel-pppd/shaper/shaper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd') diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index 862267a4..b1eaabee 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -183,8 +183,8 @@ static void parse_string(const char *str, int dir, int *speed, int *burst, int * *speed = n1/1000; *burst = n2; } + return; } - return; } val = strtol(str, &endptr, 10); -- cgit v1.2.3