"iface" is now a member of "capture_opts", not "cfile".
authorGuy Harris <guy@alum.mit.edu>
Sun, 6 Feb 2005 22:21:51 +0000 (22:21 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sun, 6 Feb 2005 22:21:51 +0000 (22:21 -0000)
svn path=/trunk/; revision=13326

tethereal.c

index 03fb8bed638c5ee90e5351b69c650285a8e32757..531f6704c3c40aa4ca78c66292f12de66ee5c937 100644 (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) {