aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-20 18:17:54 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-20 18:17:54 +0000
commitbb1cb16df48758b5a300b581679619ce0ce01108 (patch)
tree4718ae8b79401b6e6fb6ab785d2061eee56c6520 /capture_sync.c
parente6c11a74d247d7582f90437a9415c516874070ff (diff)
Use a global list containing all interfaces and only change
properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39495 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capture_sync.c b/capture_sync.c
index bf0272bbaf..5e66da0187 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -461,9 +461,11 @@ sync_pipe_start(capture_options *capture_opts) {
}
#endif
+#ifdef HAVE_PCAP_CREATE
if (interface_opts.monitor_mode) {
argv = sync_pipe_add_arg(argv, &argc, "-I");
}
+#endif
#ifdef HAVE_PCAP_REMOTE
if (interface_opts.datatx_udp)