aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-02-06 22:21:51 +0000
committerGuy Harris <guy@alum.mit.edu>2005-02-06 22:21:51 +0000
commit2b7b39bb6f45472c201bb8bc99335a0a60f99c3a (patch)
tree11f8e6011f2a0191fc2261c259d766238569d706 /tethereal.c
parent60ad11d70862789dbcb21cc19446699604991bd1 (diff)
"iface" is now a member of "capture_opts", not "cfile".
svn path=/trunk/; revision=13326
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) {