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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c
index e0d95690..5f557b3b 100644
--- a/accel-pppd/shaper/shaper.c
+++ b/accel-pppd/shaper/shaper.c
@@ -238,8 +238,10 @@ static void parse_string(const char *str, int dir, int *speed, int *burst, int *
}
}
+#ifdef RADIUS
if (conf_vendor == 9)
return;
+#endif
val = strtol(str, &endptr, 10);
if (*endptr == 0) {