From b2ffdb756f797787a639343bebb02e327e54483c Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 17 Jul 2023 09:57:54 -0500 Subject: syslog: T2778: fix dict index --- src/conf_mode/system-syslog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/conf_mode/system-syslog.py b/src/conf_mode/system-syslog.py index b9a03ac1f..e05e7e29c 100755 --- a/src/conf_mode/system-syslog.py +++ b/src/conf_mode/system-syslog.py @@ -83,8 +83,8 @@ def get_config(config=None): if 'facility' in tmp_config: default_values_facility = defaults(base + [syslog_type, 'facility']) for facility in tmp_config['facility']: - syslog[tmp_config][tmp]['facility'][facility] = dict_merge(default_values_facility, - syslog[tmp_config][tmp]['facility'][facility]) + syslog[syslog_type][tmp]['facility'][facility] = dict_merge(default_values_facility, + syslog[syslog_type][tmp]['facility'][facility]) return syslog -- cgit v1.2.3