From: Jason Ish Date: Tue, 19 Dec 2017 22:50:25 +0000 (-0600) Subject: eve.flow: removed unused http parameters X-Git-Tag: suricata-4.1.0-beta1~405 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1587772b90e3f70589179513d13ab0cc6cc1751f;p=thirdparty%2Fsuricata.git eve.flow: removed unused http parameters --- diff --git a/src/output-json-flow.c b/src/output-json-flow.c index e45b23aacc..73448149fa 100644 --- a/src/output-json-flow.c +++ b/src/output-json-flow.c @@ -59,16 +59,9 @@ typedef struct LogJsonFileCtx_ { typedef struct JsonFlowLogThread_ { LogJsonFileCtx *flowlog_ctx; /** LogFileCtx has the pointer to the file and a mutex to allow multithreading */ - uint32_t uri_cnt; - MemBuffer *buffer; } JsonFlowLogThread; - -#define LOG_HTTP_DEFAULT 0 -#define LOG_HTTP_EXTENDED 1 -#define LOG_HTTP_CUSTOM 2 - static json_t *CreateJSONHeaderFromFlow(Flow *f, const char *event_type) { char timebuf[64]; @@ -439,7 +432,6 @@ static OutputCtx *OutputFlowLogInitSub(ConfNode *conf, OutputCtx *parent_ctx) } flow_ctx->file_ctx = ojc->file_ctx; - flow_ctx->flags = LOG_HTTP_DEFAULT; output_ctx->data = flow_ctx; output_ctx->DeInit = OutputFlowLogDeinitSub;