diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-15 16:36:02 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-15 16:36:02 +0000 |
commit | a61e285004e96f330774870a417008f2597a4151 (patch) | |
tree | bd8d49ea142b48d5fa01c9ab516861de16e2c4cf /capture_sync.c | |
parent | bbc68754f6350246e4eedbf0cad53ddead6ec9e7 (diff) |
Added a preference to capture in Pcap-NG from GUI.
svn path=/trunk/; revision=28740
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"); |