diff options
-rw-r--r-- | capture_loop.c | 2 | ||||
-rw-r--r-- | capture_sync.c | 4 |
2 files changed, 3 insertions, 3 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) { diff --git a/capture_sync.c b/capture_sync.c index d6c5c3e9c1..057c826196 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -348,9 +348,9 @@ sync_pipe_do_capture(capture_options *capture_opts, gboolean is_tempfile) { argv = sync_pipe_add_arg(argv, &argc, "-m"); argv = sync_pipe_add_arg(argv, &argc, prefs.PREFS_GUI_FONT_NAME); - if (cf_get_cfilter(capture_opts->cf) != NULL && cf_get_cfilter(capture_opts->cf) != 0) { + if (capture_opts->cfilter != NULL && capture_opts->cfilter != 0) { argv = sync_pipe_add_arg(argv, &argc, "-f"); - argv = sync_pipe_add_arg(argv, &argc, cf_get_cfilter(capture_opts->cf)); + argv = sync_pipe_add_arg(argv, &argc, capture_opts->cfilter); } if ((capture_opts->fork_child = fork()) == 0) { |