summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-04-23 09:38:17 -0700
committerhagbard <vyosdev@derith.de>2019-04-23 09:38:17 -0700
commit2cd0498f50296d5d9e80b6acafb63dd3d45fb5cd (patch)
tree9e53dafee3e8664c2e203c2c1e586e10acc6465c
parent90481dca0bcac6def83600cd5906e53384aacfa6 (diff)
downloadvyos-1x-2cd0498f50296d5d9e80b6acafb63dd3d45fb5cd.tar.gz
vyos-1x-2cd0498f50296d5d9e80b6acafb63dd3d45fb5cd.zip
[pppoe-server] - fixed default RADIUS attribute Filter-Id
-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 993ea262f..a8dd0bcd9 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 e1668d3c9..a50e31e0f 100755
--- a/src/conf_mode/accel_pppoe.py
+++ b/src/conf_mode/accel_pppoe.py
@@ -458,7 +458,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'] = {