]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
napatech: load plugin by default
authorJeff Lucovsky <jlucovsky@oisf.net>
Sun, 14 Jul 2024 13:08:07 +0000 (09:08 -0400)
committerVictor Julien <victor@inliniac.net>
Sat, 12 Oct 2024 09:03:34 +0000 (11:03 +0200)
Issue: 7165

configure.ac
suricata.yaml.in

index f3233f474d4a8f8cf50793ea4e1069f5f30b7ccd..77f8269cfaf1a442f6d704c4ddb9514dbabe4623 100644 (file)
 
     if test "x$enable_napatech" = "xyes"; then
         AM_CONDITIONAL([BUILD_NAPATECH], [true])
+        napatech_comment=""
     else
         AM_CONDITIONAL([BUILD_NAPATECH], [false])
+        napatech_comment="#"
     fi
+    AC_SUBST([napatech_comment])
 
   # libmaxminddb
     AC_ARG_ENABLE(geoip,
index 013411ece4e375528222b486ea68aafa589fb3dc..a439686becbe0d7995be02416349e081e70abcb5 100644 (file)
@@ -81,6 +81,7 @@ stats:
 # Plugins -- Experimental -- specify the filename for each plugin shared object
 plugins:
   @pfring_comment@- @prefix@/lib/@PACKAGE_NAME@/pfring.so
+  @napatech_comment@- @prefix@/lib/@PACKAGE_NAME@/napatech.so
 # - /path/to/plugin.so
 
 # Configure the type of alert (and other) logging you would like.