aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-02-06 22:19:53 +0000
committerGuy Harris <guy@alum.mit.edu>2005-02-06 22:19:53 +0000
commit60ad11d70862789dbcb21cc19446699604991bd1 (patch)
treeb996255334ab8ca80d081c0efed6f080a686fc5b
parent3b088c63d73d69ac071ab5144386093126e7ac1c (diff)
Get rid of a few cf_get_ references missed by the previous checkin.
svn path=/trunk/; revision=13325
-rw-r--r--capture_loop.c2
-rw-r--r--capture_sync.c4
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) {