summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-04-23 13:46:04 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-04-23 13:46:04 +0200
commit3e8055a48274a4c9d7ddac4f52565267ef97ed85 (patch)
tree4a3e44b2a1e1859ff9db7be8760c311d08587946
parent8ad2c83782731aa102ce8e9ad80630400f76c62a (diff)
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 <dborkman@redhat.com>
-rw-r--r--netsniff-ng.c1
1 files changed, 0 insertions, 1 deletions
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);