summaryrefslogtreecommitdiff
path: root/src/conf_mode/system-syslog.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/system-syslog.py')
-rwxr-xr-xsrc/conf_mode/system-syslog.py4
1 files changed, 2 insertions, 2 deletions
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