From: Victor Julien Date: Fri, 15 Feb 2019 10:29:00 +0000 (+0100) Subject: windows: allow multiple pcap devices on commandline X-Git-Tag: suricata-5.0.0-beta1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3661%2Fhead;p=thirdparty%2Fsuricata.git windows: allow multiple pcap devices on commandline Ticket #2774 --- diff --git a/src/suricata.c b/src/suricata.c index 9ce1047612..7935c45ff5 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -1168,13 +1168,7 @@ static int ParseCommandLinePcapLive(SCInstance *suri, const char *in_arg) LiveRegisterDeviceName(suri->pcap_dev); } } else if (suri->run_mode == RUNMODE_PCAP_DEV) { -#ifdef OS_WIN32 - SCLogError(SC_ERR_PCAP_MULTI_DEV_NO_SUPPORT, "pcap multi dev " - "support is not (yet) supported on Windows."); - return TM_ECODE_FAILED; -#else LiveRegisterDeviceName(suri->pcap_dev); -#endif } else { SCLogError(SC_ERR_MULTIPLE_RUN_MODE, "more than one run mode " "has been specified");