From 155501f250ea627d857a1beb14d15b60b7ced94e Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 9 Jul 2024 16:42:04 -0600 Subject: [PATCH] pf-ring: load plugin by default Ticket: #7162 --- configure.ac | 3 +++ suricata.yaml.in | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0626a16f58..fbd9392623 100644 --- a/configure.ac +++ b/configure.ac @@ -1340,9 +1340,12 @@ if test "x$enable_pfring" = "xyes"; then AM_CONDITIONAL([BUILD_PFRING], [true]) + pfring_comment="" else AM_CONDITIONAL([BUILD_PFRING], [false]) + pfring_comment="#" fi + AC_SUBST([pfring_comment]) # AF_PACKET support AC_ARG_ENABLE(af-packet, diff --git a/suricata.yaml.in b/suricata.yaml.in index d0e4bcd3c9..de46b1f253 100644 --- a/suricata.yaml.in +++ b/suricata.yaml.in @@ -80,7 +80,8 @@ stats: # Plugins -- Experimental -- specify the filename for each plugin shared object plugins: -# - /path/to/plugin.so + @pfring_comment@- @prefix@/lib/@PACKAGE_NAME@/pfring.so +# - /path/to/plugin.so # Configure the type of alert (and other) logging you would like. outputs: