summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_pppoe-server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-03 11:48:36 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-03 11:48:36 +0200
commite4e75aacac93f320a20ad367bdfc8aa2c21596ef (patch)
tree243ae998cf4458c2e12a75a35657a4e4be639bc7 /src/conf_mode/service_pppoe-server.py
parent2123eef951467ea2e69ec2ad3f68e0282f84414e (diff)
downloadvyos-1x-e4e75aacac93f320a20ad367bdfc8aa2c21596ef.tar.gz
vyos-1x-e4e75aacac93f320a20ad367bdfc8aa2c21596ef.zip
pppoe-server: T2956: make use of defaultValue list feature
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index f92569c20..65a7f93b0 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -63,14 +63,6 @@ def get_config(config=None):
# we need to store the path to the secrets file
pppoe.update({'chap_secrets_file' : pppoe_chap_secrets})
- if not vyos_dict_search('authentication.protocols', pppoe):
- if not 'authentication' in pppoe:
- pppoe.update({'authentication' : ''})
-
- pppoe['authentication'].update(
- {'protocols' : ['auth_mschap_v2', 'auth_mschap_v1',
- 'auth_chap_md5', 'auth_pap']})
-
# We can only have two IPv4 and three IPv6 nameservers - also they are
# configured in a different way in the configuration, this is why we split
# the configuration