diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2012-01-24 16:05:26 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2012-01-24 16:05:26 +0000 |
commit | 08d67854125c80c95478e4de75c4a201a2e4145d (patch) | |
tree | cb50582f4c3e70cae4fc3de712152dfe4416d607 /capture_sync.c | |
parent | 73cefbad157acd5e5b39e994eeabfe12fc3bedc9 (diff) | |
download | wireshark-08d67854125c80c95478e4de75c4a201a2e4145d.tar.gz wireshark-08d67854125c80c95478e4de75c4a201a2e4145d.tar.bz2 wireshark-08d67854125c80c95478e4de75c4a201a2e4145d.zip |
Second try. This time pipes and stdin are supported.
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.
svn path=/trunk/; revision=40693
Diffstat (limited to 'capture_sync.c')
-rw-r--r-- | capture_sync.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capture_sync.c b/capture_sync.c index 02223ef28a..04614b2ebe 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -463,9 +463,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) |