diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-11-17 19:09:45 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-11-17 19:09:45 +0300 |
commit | b498b81ebc4eee1f75ff1ef87d65d8f223c31ba6 (patch) | |
tree | 54065795ceeb738b8715bd0bd58ee121f25f1ac4 /accel-pppd | |
parent | 9f11527f6d2ab4f0e4cc9bd7222708a923e038c8 (diff) | |
download | accel-ppp-b498b81ebc4eee1f75ff1ef87d65d8f223c31ba6.tar.gz accel-ppp-b498b81ebc4eee1f75ff1ef87d65d8f223c31ba6.zip |
shaper: properly handle Cisco-AVPair
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/shaper/shaper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index b1eaabee..e1ec11ee 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -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; |