diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-15 16:36:02 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-15 16:36:02 +0000 |
commit | aa1742991a5c0cf0c5b5ed72a0209949198ec603 (patch) | |
tree | bd8d49ea142b48d5fa01c9ab516861de16e2c4cf /capture_sync.c | |
parent | 99a9a88cbd98a4f9ca9523140b710edfdb20fdf6 (diff) |
Added a preference to capture in Pcap-NG from GUI.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28740 f5534014-38df-0310-8fa8-9805f1628bb7
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 bca2336b08..28f2b386c8 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -355,6 +355,8 @@ sync_pipe_start(capture_options *capture_opts) { if (!capture_opts->promisc_mode) argv = sync_pipe_add_arg(argv, &argc, "-p"); + if (capture_opts->use_pcapng) + argv = sync_pipe_add_arg(argv, &argc, "-n"); #ifdef HAVE_PCAP_REMOTE if (capture_opts->datatx_udp) argv = sync_pipe_add_arg(argv, &argc, "-u"); |