summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper/shaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/shaper/shaper.c')
-rw-r--r--accel-pppd/shaper/shaper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c
index b1eaabe..e1ec11e 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;