From b23c28dfd0e296987d7f65c2a178e6ed0fde3983 Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 28 Jun 2019 09:54:25 -0700 Subject: [IPoE] if authentication is local use .lower() for mac addresses --- src/conf_mode/ipoe_server.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/conf_mode') 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] = {} -- cgit v1.2.3