summaryrefslogtreecommitdiff
path: root/capture_opts.c
diff options
context:
space:
mode:
authorruengeler <ruengeler@localhost>2012-04-23 12:34:16 +0000
committerruengeler <ruengeler@localhost>2012-04-23 12:34:16 +0000
commit0819722ad8fea31124836b40122dafb2e8f4556b (patch)
tree40622f0509f604743c055ac1b08eb76dac42847c /capture_opts.c
parent987ce281e4dcd36f489b37b510ff4f309d67730e (diff)
downloadwireshark-0819722ad8fea31124836b40122dafb2e8f4556b.tar.gz
Fix bug #7178 reported by aparan
svn path=/trunk/; revision=42206
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c4
1 files changed, 2 insertions, 2 deletions
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;