aboutsummaryrefslogtreecommitdiffstats
path: root/capture_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_loop.c')
-rw-r--r--capture_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_loop.c b/capture_loop.c
index cd8776c926..be8fda47fd 100644
--- a/capture_loop.c
+++ b/capture_loop.c
@@ -618,7 +618,7 @@ static int capture_loop_open_input(capture_options *capture_opts, loop_data *ld,
return FALSE;
#else
/* try to open iface as a pipe */
- ld->cap_pipe_fd = cap_pipe_open_live(cf_get_iface(capture_opts->cf), &ld->cap_pipe_hdr, ld, errmsg, errmsg_len);
+ ld->cap_pipe_fd = cap_pipe_open_live(capture_opts->iface, &ld->cap_pipe_hdr, ld, errmsg, errmsg_len);
if (ld->cap_pipe_fd == -1) {