summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-06-28 09:54:25 -0700
committerhagbard <vyosdev@derith.de>2019-06-28 09:54:25 -0700
commitb23c28dfd0e296987d7f65c2a178e6ed0fde3983 (patch)
treeaf54da41af7d61b318e4dc84be9c3b3709c724c2 /src/conf_mode
parent5e04457aa33511bbed8fa19d2180afb7c0b49050 (diff)
downloadvyos-1x-b23c28dfd0e296987d7f65c2a178e6ed0fde3983.tar.gz
vyos-1x-b23c28dfd0e296987d7f65c2a178e6ed0fde3983.zip
[IPoE] if authentication is local use .lower() for mac addresses
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/ipoe_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/ipoe_server.py b/src/conf_mode/ipoe_server.py
index 39f0cb279..470ef7ee6 100755
--- a/src/conf_mode/ipoe_server.py
+++ b/src/conf_mode/ipoe_server.py
@@ -231,6 +231,7 @@ def get_config():
if c.exists('authentication mode local'):
for auth_int in c.list_nodes('authentication interface'):
for mac in c.list_nodes('authentication interface ' + auth_int + ' mac-address'):
+ mac = mac.lower()
config_data['auth_if'][auth_int] = {}
if c.exists('authentication interface ' + auth_int + ' mac-address ' + mac + ' rate-limit'):
config_data['auth_if'][auth_int][mac] = {}