summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 5ce64e5..f22137d 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -364,7 +364,6 @@ static void receive_to_xmit(struct ctx *ctx)
fmemset(&tx_ring, 0, sizeof(tx_ring));
fmemset(&rx_ring, 0, sizeof(rx_ring));
- fmemset(&rx_poll, 0, sizeof(rx_poll));
fmemset(&bpf_ops, 0, sizeof(bpf_ops));
ifindex_in = device_ifindex(ctx->device_in);
@@ -902,7 +901,6 @@ static void recv_only_or_dump(struct ctx *ctx)
}
fmemset(&rx_ring, 0, sizeof(rx_ring));
- fmemset(&rx_poll, 0, sizeof(rx_poll));
fmemset(&bpf_ops, 0, sizeof(bpf_ops));
ifindex = device_ifindex(ctx->device_in);