summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index a428996..42a56b5 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -952,7 +952,6 @@ static void recv_only_or_dump(struct ctx *ctx)
if (dump_to_pcap(ctx)) {
struct stat stats;
- fmemset(&stats, 0, sizeof(stats));
ret = stat(ctx->device_out, &stats);
if (ret < 0)
ctx->dump_dir = 0;