From 1fc74f0d931560a2d4af38f47f3cb8212cfe0145 Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Fri, 16 Aug 2024 20:04:01 +0200 Subject: [PATCH] Make sure, only flow nodes get dummped - see also #555 --- src/nfpcapd/flowdump.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nfpcapd/flowdump.c b/src/nfpcapd/flowdump.c index af607c49..17cc212c 100644 --- a/src/nfpcapd/flowdump.c +++ b/src/nfpcapd/flowdump.c @@ -405,8 +405,10 @@ __attribute__((noreturn)) void *flow_thread(void *thread_data) { FlushBlock(fs->nffile, fs->dataBlock); CloseFlowFile(flowParam, Node->timestamp); break; - } else { + } else if (Node->nodeType == FLOW_NODE) { StorePcapFlow(flowParam, Node); + } else { + // skip this node } Free_Node(Node); }