summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/configdict.py2
1 files changed, 1 insertions, 1 deletions
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(