summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-04-23 09:38:17 -0700
committerJohn Estabrook <jestabro@sentrium.io>2020-01-16 11:40:29 -0600
commitd1b12cf8bbe964e9cdb6c0e60fe74d5c410d448c (patch)
tree4270e3155d226d93face0e7728b130022dd3b040
parentc7ff494723846e87928393832f576881316eef9f (diff)
downloadvyos-1x-d1b12cf8bbe964e9cdb6c0e60fe74d5c410d448c.tar.gz
vyos-1x-d1b12cf8bbe964e9cdb6c0e60fe74d5c410d448c.zip
[pppoe-server] - fixed default RADIUS attribute Filter-Id
(cherry picked from commit 2cd0498f50296d5d9e80b6acafb63dd3d45fb5cd)
-rw-r--r--interface-definitions/pppoe-server.xml2
-rwxr-xr-xsrc/conf_mode/accel_pppoe.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/pppoe-server.xml b/interface-definitions/pppoe-server.xml
index 212688d8c..1190cd9ff 100644
--- a/interface-definitions/pppoe-server.xml
+++ b/interface-definitions/pppoe-server.xml
@@ -191,7 +191,7 @@
<children>
<leafNode name="attribute">
<properties>
- <help>Specifies which radius attribute contains rate information. (default is Filter-ID)</help>
+ <help>Specifies which radius attribute contains rate information. (default is Filter-Id)</help>
</properties>
</leafNode>
<leafNode name="enable">
diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py
index 376696697..3b3bf8cac 100755
--- a/src/conf_mode/accel_pppoe.py
+++ b/src/conf_mode/accel_pppoe.py
@@ -470,7 +470,7 @@ def get_config():
if c.exists('authentication radius-settings rate-limit enable'):
if not c.exists('authentication radius-settings rate-limit attribute'):
config_data['authentication']['radiusopt']['shaper'] = {
- 'attr' : 'Filter-ID'
+ 'attr' : 'Filter-Id'
}
else:
config_data['authentication']['radiusopt']['shaper'] = {