|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* Copyright (C) 2007-2021 Open Information Security Foundation
|
|
|
|
|
/* Copyright (C) 2007-2023 Open Information Security Foundation
|
|
|
|
|
*
|
|
|
|
|
* You can copy, redistribute or modify this Program under the terms of
|
|
|
|
|
* the GNU General Public License version 2 as published by the Free
|
|
|
|
|
@ -82,7 +82,7 @@ static int g_droplog_flows_start = 1;
|
|
|
|
|
* \param tv Pointer the current thread variables
|
|
|
|
|
* \param p Pointer the packet which is being logged
|
|
|
|
|
*
|
|
|
|
|
* \return return TM_EODE_OK on success
|
|
|
|
|
* \return return TM_ECODE_OK on success
|
|
|
|
|
*/
|
|
|
|
|
static int DropLogJSON (JsonDropLogThread *aft, const Packet *p)
|
|
|
|
|
{
|
|
|
|
|
@ -306,7 +306,7 @@ static OutputInitResult JsonDropLogInitCtxSub(ConfNode *conf, OutputCtx *parent_
|
|
|
|
|
* \param data Pointer to the droplog struct
|
|
|
|
|
* \param p Pointer the packet which is being logged
|
|
|
|
|
*
|
|
|
|
|
* \retval 0 on succes
|
|
|
|
|
* \retval 0 on success
|
|
|
|
|
*/
|
|
|
|
|
static int JsonDropLogger(ThreadVars *tv, void *thread_data, const Packet *p)
|
|
|
|
|
{
|
|
|
|
|
|