]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve.flow: removed unused http parameters
authorJason Ish <ish@unx.ca>
Tue, 19 Dec 2017 22:50:25 +0000 (16:50 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 20 Dec 2017 15:01:19 +0000 (16:01 +0100)
src/output-json-flow.c

index e45b23aacca5cae089f6b1c480222acdd0092d46..73448149fa15dabd9228d841365a2bf3ecca84a3 100644 (file)
@@ -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;