aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-06-17 17:52:31 +0000
committerGerald Combs <gerald@wireshark.org>2011-06-17 17:52:31 +0000
commit8d88f3a7902d1e44d782fdc96157e70884a9ebf2 (patch)
tree2114755f933eee189d1a4ae481381e945a090800 /capture_sync.c
parent78f376abc58a5f52f3abe50f4e693bc796e46d03 (diff)
Make pcap-ng the default. Add a compile-time option to prefer pcap-ng or
pcap. Add a "-P" capture option which tries to use pcap instead of pcap-ng ("-P" seemed to be the best option but we may want to use a different letter). Update the documentation and release notes. svn path=/trunk/; revision=37696
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 e2ddfb07d3..0e00856d5f 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -382,6 +382,8 @@ sync_pipe_start(capture_options *capture_opts) {
if (capture_opts->use_pcapng)
argv = sync_pipe_add_arg(argv, &argc, "-n");
+ else
+ argv = sync_pipe_add_arg(argv, &argc, "-P");
if (capture_opts->multi_files_on) {
if (capture_opts->has_autostop_filesize) {