From 3e8055a48274a4c9d7ddac4f52565267ef97ed85 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 23 Apr 2013 13:46:04 +0200 Subject: netsniff-ng: remove set_sockopt_hwtimestamp call For TX this call is completly useless and has no effect whatsoever. Therefore, remove it. For the RX part, this call makes perfect sense, not for the other one currently. Signed-off-by: Daniel Borkmann --- netsniff-ng.c | 1 - 1 file changed, 1 deletion(-) diff --git a/netsniff-ng.c b/netsniff-ng.c index c1e0d26..2391d39 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -221,7 +221,6 @@ static void pcap_to_xmit(struct ctx *ctx) bpf_dump_all(&bpf_ops); set_packet_loss_discard(tx_sock); - set_sockopt_hwtimestamp(tx_sock, ctx->device_out); setup_tx_ring_layout(tx_sock, &tx_ring, size, ctx->jumbo); create_tx_ring(tx_sock, &tx_ring, ctx->verbose); -- cgit v1.2.3-54-g00ecf