From 0819722ad8fea31124836b40122dafb2e8f4556b Mon Sep 17 00:00:00 2001 From: ruengeler Date: Mon, 23 Apr 2012 12:34:16 +0000 Subject: Fix bug #7178 reported by aparan svn path=/trunk/; revision=42206 --- capture_opts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_opts.c') diff --git a/capture_opts.c b/capture_opts.c index 64749fb91d..e5173ddaab 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -1010,7 +1010,7 @@ collect_ifaces(capture_options *capture_opts) #ifdef HAVE_PCAP_CREATE interface_opts.monitor_mode = device.monitor_mode_enabled; #endif - if (!device.local) { + /* if (!device.local) {*/ #ifdef HAVE_PCAP_REMOTE interface_opts.src_type = CAPTURE_IFREMOTE; interface_opts.remote_host = g_strdup(device.remote_opts.remote_host_opts.remote_host); @@ -1026,7 +1026,7 @@ collect_ifaces(capture_options *capture_opts) interface_opts.sampling_method = device.remote_opts.sampling_method; interface_opts.sampling_param = device.remote_opts.sampling_param; #endif - } + /* }*/ g_array_append_val(capture_opts->ifaces, interface_opts); } else { continue; -- cgit v1.2.3