"iface" is now a member of "capture_opts", not "cfile".

svn path=/trunk/; revision=13326
This commit is contained in:
Guy Harris 2005-02-06 22:21:51 +00:00
parent 60ad11d708
commit 2b7b39bb6f
1 changed files with 2 additions and 1 deletions

View File

@ -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) {