aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c
index 03fb8bed63..531f6704c3 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1776,7 +1776,8 @@ capture(int out_file_type)
goto error;
#else
/* try to open cfile.iface as a pipe */
- pipe_fd = pipe_open_live(cfile.iface, &hdr, &ld, errmsg, sizeof errmsg);
+ pipe_fd = pipe_open_live(capture_opts.iface, &hdr, &ld, errmsg,
+ sizeof errmsg);
if (pipe_fd == -1) {