capture: fix mtu plus sign names for non-netmap

Bug #2502.
pull/3580/head
Victor Julien 6 years ago
parent 31f81429c2
commit 3a057c5f54

@ -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++) {

Loading…
Cancel
Save