summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2020-09-13 00:51:13 +0500
committerVladislav Grishenko <themiron@mail.ru>2020-09-13 01:11:49 +0500
commit6e851767b3074244d01f58da4208c9f2c779fa58 (patch)
tree6bd6faafef86abaaae8912c6adbc3c049f2783c3 /accel-pppd/shaper
parentc3629ea6a221455bbc02dde30c8eb8250c19831b (diff)
downloadaccel-ppp-6e851767b3074244d01f58da4208c9f2c779fa58.tar.gz
accel-ppp-6e851767b3074244d01f58da4208c9f2c779fa58.zip
radius: keep vendor & attr numbers in order
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r--accel-pppd/shaper/shaper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c
index 55bec4fc..75b27fb1 100644
--- a/accel-pppd/shaper/shaper.c
+++ b/accel-pppd/shaper/shaper.c
@@ -299,8 +299,10 @@ static void parse_string(const char *str, int dir, int *speed, int *burst, int *
}
#ifdef RADIUS
- if (conf_vendor == 9)
+ if (conf_vendor == 9) {
+ /* VENDOR_Cisco */
return;
+ }
#endif
parse_string_simple(str, dir, speed, burst, tr_id);