diff options
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) |