summaryrefslogtreecommitdiff
path: root/ring_tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'ring_tx.c')
-rw-r--r--ring_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_tx.c b/ring_tx.c
index 2ad1de9..f91f7f7 100644
--- a/ring_tx.c
+++ b/ring_tx.c
@@ -70,7 +70,7 @@ void create_tx_ring(int sock, struct ring *ring, int verbose)
{
int ret;
- set_sockopt_tpacket(sock);
+ set_sockopt_tpacket_v2(sock);
retry:
ret = setsockopt(sock, SOL_PACKET, PACKET_TX_RING, &ring->layout,
sizeof(ring->layout));