]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
napatech: Removed restriction on use of inline mode 5560/head
authorPhil Young <py@napatech.com>
Thu, 12 Nov 2020 18:19:12 +0000 (13:19 -0500)
committerVictor Julien <victor@inliniac.net>
Fri, 13 Nov 2020 05:42:06 +0000 (06:42 +0100)
Removed the unnecessary restriction on the use of inline mode only when
bypass is enabled.  Now, Inline can be used independent of bypass
functionality.

src/util-napatech.c

index 695fabe5f9fd1388cae3243d2bebc7bd04514e35..9bf7b16576dc2c545f48193dc6e99e9a1583cf7b 100644 (file)
@@ -1423,11 +1423,6 @@ uint32_t NapatechSetupTraffic(uint32_t first_stream, uint32_t last_stream)
     } else {
         SCLogInfo("Napatech Hardware Bypass disabled.");
     }
-
-    if (is_inline) {
-         FatalError(SC_ERR_FATAL,
-                    "Napatech inline mode not supported.  (Only available when Hardware Bypass support is enabled.)");
-    }
 #endif
 
     if (is_inline) {