summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index bbffe72..2e18386 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -1196,12 +1196,6 @@ static void init_ctx(struct ctx *ctx)
ctx->promiscuous = true;
ctx->randomize = false;
ctx->hwtimestamp = true;
-
- ctx->pkts_recvd = 0;
- ctx->pkts_seen = 0;
- ctx->pkts_drops = 0;
- ctx->pkts_recvd_last = 0;
- ctx->pkts_drops_last = 0;
}
static void destroy_ctx(struct ctx *ctx)