From: Zachary Rasmor Date: Fri, 24 Apr 2015 18:28:32 +0000 (-0400) Subject: Fix Bug #1204 X-Git-Tag: suricata-2.1beta4~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0c659f82f675a090fa08dacc008061a70db2550;p=thirdparty%2Fsuricata.git Fix Bug #1204 Fix typo that causes eve syslog settings code to be unreachable. --- 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;