From 35f9735d003b453f8db95de9cc29c3689150cc7c Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Thu, 22 Dec 2022 11:29:14 +0100 Subject: [PATCH] Add NSEL/NEL event flag --- src/netflow/netflow_v9.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/netflow/netflow_v9.c b/src/netflow/netflow_v9.c index c18ec26f..9c5161c1 100644 --- a/src/netflow/netflow_v9.c +++ b/src/netflow/netflow_v9.c @@ -1239,10 +1239,12 @@ static inline void Process_v9_data(exporterDomain_t *exporter, void *data_flowse EXnselCommon_t *nselCommon = sequencer->offsetCache[EXnselCommonID]; if (nselCommon) { nselCommon->msecEvent = stack[STACK_MSEC]; + SetFlag(recordHeaderV3->flags, V3_FLAG_EVENT); } EXnelCommon_t *nelCommon = sequencer->offsetCache[EXnelCommonID]; if (nelCommon) { nelCommon->msecEvent = stack[STACK_MSEC]; + SetFlag(recordHeaderV3->flags, V3_FLAG_EVENT); } // nprobe latency