summaryrefslogtreecommitdiff
path: root/src/migration-scripts/sstp/0-to-1
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-20 23:07:43 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-20 23:25:05 +0100
commita8920a1f13e6091355d33541802b1486c0cfa653 (patch)
tree8aa98337ce740f38bd0402c42dcfe384c45d9c3e /src/migration-scripts/sstp/0-to-1
parent86e47301786da64a035156edd24ed2ec89918a49 (diff)
downloadvyos-1x-a8920a1f13e6091355d33541802b1486c0cfa653.tar.gz
vyos-1x-a8920a1f13e6091355d33541802b1486c0cfa653.zip
sstp: T2008: remove req-limit config node
Limiting the amount of requests passed to a server seems to be the wrong way to tackle a problem.
Diffstat (limited to 'src/migration-scripts/sstp/0-to-1')
-rwxr-xr-xsrc/migration-scripts/sstp/0-to-15
1 files changed, 1 insertions, 4 deletions
diff --git a/src/migration-scripts/sstp/0-to-1 b/src/migration-scripts/sstp/0-to-1
index 652a2662f..2edf76a56 100755
--- a/src/migration-scripts/sstp/0-to-1
+++ b/src/migration-scripts/sstp/0-to-1
@@ -20,6 +20,7 @@
# - migrate RADIUS configuration to a more uniform syntax accross the system
# - authentication radius-server x.x.x.x to authentication radius server x.x.x.x
# - authentication radius-settings to authentication radius
+# - do not migrate radius server req-limit, use default of unlimited
import os
import sys
@@ -101,10 +102,6 @@ else:
tmp = config.return_value(base + ['fail-time'])
config.set(new + ['fail-time'], value=tmp)
- if config.exists(base + ['req-limit']):
- tmp = config.return_value(base + ['req-limit'])
- config.set(new + ['req-limit'], value=tmp)
-
config.set_tag(new_base + ['authentication', 'radius', 'server'])
config.delete(radius_server)