diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-05 17:14:08 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-05 17:54:03 +0300 |
commit | 5b00fe06f4bff8181293eb7cf341960928270100 (patch) | |
tree | cd36f3eeeb181cec467b767459da9f04060458f6 | |
parent | 0cc1ca281b0d3d53ff1aa2d38230419772e5979f (diff) | |
download | accel-ppp-5b00fe06f4bff8181293eb7cf341960928270100.tar.gz accel-ppp-5b00fe06f4bff8181293eb7cf341960928270100.zip |
fixed compilation error with -DRADIUS=FALSE
-rw-r--r-- | accel-pppd/shaper/shaper.c | 2 |
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) { |