summaryrefslogtreecommitdiff
path: root/astraceroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'astraceroute.c')
-rw-r--r--astraceroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/astraceroute.c b/astraceroute.c
index 19c8017..e9d876d 100644
--- a/astraceroute.c
+++ b/astraceroute.c
@@ -44,7 +44,7 @@
#include "csum.h"
#include "sock.h"
#include "geoip.h"
-#include "ring_rx.h"
+#include "ring.h"
#include "built_in.h"
struct ctx {
@@ -899,7 +899,7 @@ static int main_trace(struct ctx *ctx)
inject_filter(ctx, fd_cap);
ifindex = device_ifindex(ctx->dev);
- bind_rx_ring(fd_cap, &dummy_ring, ifindex);
+ bind_ring_generic(fd_cap, &dummy_ring, ifindex, false);
if (ctx->totlen < af_ops[ctx->proto].min_len_tcp) {
ctx->totlen = af_ops[ctx->proto].min_len_tcp;