From f0c659f82f675a090fa08dacc008061a70db2550 Mon Sep 17 00:00:00 2001 From: Zachary Rasmor Date: Fri, 24 Apr 2015 14:28:32 -0400 Subject: [PATCH] Fix Bug #1204 Fix typo that causes eve syslog settings code to be unreachable. --- src/output-json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output-json.c b/src/output-json.c index aec2f67c4e..78a915d422 100644 --- a/src/output-json.c +++ b/src/output-json.c @@ -479,7 +479,7 @@ OutputCtx *OutputJsonInitCtx(ConfNode *conf) exit(EXIT_FAILURE); } } - } else if (json_out == ALERT_SYSLOG) { + } else if (json_ctx->json_out == ALERT_SYSLOG) { const char *facility_s = ConfNodeLookupChildValue(conf, "facility"); if (facility_s == NULL) { facility_s = DEFAULT_ALERT_SYSLOG_FACILITY_STR;