Skip to content

Commit

Permalink
Make sure, only flow nodes get dummped - see also #555
Browse files Browse the repository at this point in the history
  • Loading branch information
phaag committed Aug 16, 2024
1 parent 6ec9d81 commit 1fc74f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nfpcapd/flowdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1fc74f0

Please sign in to comment.