summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn-pptp.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-04-11 20:20:19 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-04-11 20:20:19 +0000
commitf62dffaa3121261925b4850fe0400dd33449e5f5 (patch)
tree1d7a5e9b7b83a76ca2769087be11172a021b608a /interface-definitions/vpn-pptp.xml.in
parent14582acd1c7d169f6d50efc7aaf250fecff81740 (diff)
downloadvyos-1x-f62dffaa3121261925b4850fe0400dd33449e5f5.tar.gz
vyos-1x-f62dffaa3121261925b4850fe0400dd33449e5f5.zip
T4727: Change and fix RADIUS rate-limit option for pptp
Initially the option 'rate-limit' was implemented with the wrong place in the CLI: set vpn pptp remote-access authentication rate-limit <xxx> Expected under 'radius' section: set vpn pptp remote-access authentication radius rate-limit <xxx> Configuration for 'rate-limit' (Jinja2 template) never worked for pptp, fix it.
Diffstat (limited to 'interface-definitions/vpn-pptp.xml.in')
-rw-r--r--interface-definitions/vpn-pptp.xml.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/interface-definitions/vpn-pptp.xml.in b/interface-definitions/vpn-pptp.xml.in
index 00ffd26f9..5a8b4a78a 100644
--- a/interface-definitions/vpn-pptp.xml.in
+++ b/interface-definitions/vpn-pptp.xml.in
@@ -108,9 +108,13 @@
</tagNode>
</children>
</node>
+ <node name="radius">
+ <children>
+ #include <include/accel-ppp/radius-additions-rate-limit.xml.i>
+ </children>
+ </node>
#include <include/radius-auth-server-ipv4.xml.i>
#include <include/accel-ppp/radius-additions.xml.i>
- #include <include/accel-ppp/radius-additions-rate-limit.xml.i>
</children>
</node>
</children>