git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make pcap-ng the default. Add a compile-time option to prefer pcap-ng or
[obnox/wireshark/wip.git]
/
capture_sync.c
diff --git
a/capture_sync.c
b/capture_sync.c
index e2ddfb07d327c18e7de3a6c07c7a60ec6c474a5d..0e00856d5f9c5ab41148f848bd43a1145b445284 100644
(file)
--- 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) {