From aaaee7e8883d8e91ab7950602999ae388674f9c5 Mon Sep 17 00:00:00 2001 From: g0tar Date: Wed, 13 Dec 2023 16:44:59 +0100 Subject: [PATCH] Don't clear flowStartMilliseconds when flowEndMilliseconds==0 This is a trivial bug introduced in 222419364892155de294792a262cca5e27d41993 --- src/inline/nffile_inline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inline/nffile_inline.c b/src/inline/nffile_inline.c index 8eec13ff..5f7bf8e8 100644 --- a/src/inline/nffile_inline.c +++ b/src/inline/nffile_inline.c @@ -470,7 +470,7 @@ static inline void ExpandRecord_v3(recordHeaderV3_t *v3Record, master_record_t * #ifdef NSEL if (output_record->msecFirst == 0) output_record->msecFirst = output_record->msecEvent; - if (output_record->msecLast == 0) output_record->msecFirst = output_record->msecEvent; + if (output_record->msecLast == 0) output_record->msecLast = output_record->msecEvent; #endif #ifdef DEVEL