summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper/shaper.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-12-05 17:14:08 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-12-05 17:14:08 +0300
commited367d962764b4e3b1e77cb4539b0a22643364a1 (patch)
treeb00de2d17c772ec30a1e3bedd9b3d67c1541e569 /accel-pppd/shaper/shaper.c
parent71770d7a41278731f676a11ff943da735a09c5b0 (diff)
downloadaccel-ppp-ed367d962764b4e3b1e77cb4539b0a22643364a1.tar.gz
accel-ppp-ed367d962764b4e3b1e77cb4539b0a22643364a1.zip
fixed compilation error with -DRADIUS=FALSE
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) {