diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-11-22 16:02:32 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-11-22 16:02:32 +0300 |
commit | e09279c7491a8bd16a25b123e03ddd0cd77b566d (patch) | |
tree | db2615bb79611675df3aa6a2422d251b05029584 | |
parent | a2cf13517facc6dd05c97fb955d330965ddd4dc1 (diff) | |
download | accel-ppp-e09279c7491a8bd16a25b123e03ddd0cd77b566d.tar.gz accel-ppp-e09279c7491a8bd16a25b123e03ddd0cd77b566d.zip |
shaper: fixed parsing rate as single string
-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 862267a..b1eaabe 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); |