]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
output/log: Removed pcie (Tilera) log vestiges
authorJeff Lucovsky <jeff@lucovsky.org>
Mon, 12 Apr 2021 13:12:23 +0000 (09:12 -0400)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 29 Apr 2021 10:04:18 +0000 (15:34 +0530)
This commit removes the last remnants of the Tilera log output mechanism
(unsupported since 5.0.x).

(cherry picked from commit aa9ad56a5b0faeb9528558f6197ff967c6714e94)

src/util-logopenfile.c
src/util-logopenfile.h

index 102b96e748a0bed18d9c90eb857e180f6cd9222f..0de413aafff072b623fda83e2c3cb92ce7c793c4 100644 (file)
@@ -575,7 +575,6 @@ SCConfLogOpenGeneric(ConfNode *conf,
     } else {
         SCLogError(SC_ERR_INVALID_YAML_CONF_ENTRY, "Invalid entry for "
                    "%s.filetype.  Expected \"regular\" (default), \"unix_stream\", "
-                   "\"pcie\" "
                    "or \"unix_dgram\"",
                    conf->name);
     }
index cc62802264594a4e60b5465c8d83616d94f99066..58d95d27a13caa042f2667573de2659f2f0316d1 100644 (file)
 
 #include "suricata-plugin.h"
 
-typedef struct {
-    uint16_t fileno;
-} PcieFile;
-
 enum LogFileType { LOGFILE_TYPE_FILE,
                    LOGFILE_TYPE_SYSLOG,
                    LOGFILE_TYPE_UNIX_DGRAM,
@@ -60,7 +56,6 @@ typedef struct LogThreadedFileCtx_ {
 typedef struct LogFileCtx_ {
     union {
         FILE *fp;
-        PcieFile *pcie_fp;
         LogThreadedFileCtx *threads;
         void *plugin_data;
 #ifdef HAVE_LIBHIREDIS