summaryrefslogtreecommitdiff
path: root/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'ring.h')
-rw-r--r--ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring.h b/ring.h
index 44738d7..f0edd82 100644
--- a/ring.h
+++ b/ring.h
@@ -102,7 +102,7 @@ static inline void prepare_polling(int sock, struct pollfd *pfd)
pfd->events = POLLIN | POLLRDNORM | POLLERR;
}
-static inline void set_sockopt_tpacket(int sock)
+static inline void set_sockopt_tpacket_v2(int sock)
{
int ret, val = TPACKET_V2;