From 6c2a2cb8ce98b3b43ac07403bc61f186c28ccdf9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 13 Oct 2020 18:49:33 +0200 Subject: pppoe-server: T2976: fix local-users default value retrieval from XML We must use XML node style (hyphen over underscore). --- python/vyos/configdict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos') diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py index 99072a1b9..02006465c 100644 --- a/python/vyos/configdict.py +++ b/python/vyos/configdict.py @@ -465,7 +465,7 @@ def get_accel_dict(config, base, chap_secrets): # Add individual local-user default values if vyos_dict_search('authentication.local_users.username', dict): - default_values = defaults(base + ['authentication', 'local_users', 'username']) + default_values = defaults(base + ['authentication', 'local-users', 'username']) for username in vyos_dict_search('authentication.local_users.username', dict): dict['authentication']['local_users']['username'][username] = dict_merge( -- cgit v1.2.3