From 3a057c5f54c77ebd5673199984c53df25a2cf128 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 10 Dec 2018 20:43:37 +0100 Subject: [PATCH] capture: fix mtu plus sign names for non-netmap Bug #2502. --- src/suricata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/suricata.c b/src/suricata.c index ff19a5de1b..7a8b27f646 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2492,13 +2492,13 @@ static int ConfigGetCaptureValue(SCInstance *suri) default_packet_size = DEFAULT_PACKET_SIZE; break; #endif /* WINDIVERT */ - case RUNMODE_PCAP_DEV: - case RUNMODE_AFP_DEV: case RUNMODE_NETMAP: /* in netmap igb0+ has a special meaning, however the * interface really is igb0 */ strip_trailing_plus = 1; /* fall through */ + case RUNMODE_PCAP_DEV: + case RUNMODE_AFP_DEV: case RUNMODE_PFRING: nlive = LiveGetDeviceCount(); for (lthread = 0; lthread < nlive; lthread++) {