summaryrefslogtreecommitdiff
path: root/ring_rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'ring_rx.c')
-rw-r--r--ring_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_rx.c b/ring_rx.c
index d89d762..27c87d3 100644
--- a/ring_rx.c
+++ b/ring_rx.c
@@ -60,7 +60,7 @@ void create_rx_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_RX_RING, &ring->layout,
sizeof(ring->layout));