]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Fix some warning message still using underscored config vars.
authorNikolay Denev <ndenev@gmail.com>
Fri, 24 Feb 2012 20:36:38 +0000 (22:36 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 28 Feb 2012 08:24:24 +0000 (09:24 +0100)
src/runmode-pcap-file.c

index a45254e2e698e46728f51359f7f8617b1d617cdf..27c8edd7fc5e39ba98fb8efb182ef3a930864639 100644 (file)
@@ -55,7 +55,7 @@ void RunModeFilePcapRegister(void)
     RunModeRegisterNewRunMode(RUNMODE_PCAP_FILE, "autofp",
                               "Multi threaded pcap file mode.  Packets from "
                               "each flow are assigned to a single detect thread, "
-                              "unlike \"pcap_file_auto\" where packets from "
+                              "unlike \"pcap-file-auto\" where packets from "
                               "the same flow can be processed by any detect "
                               "thread",
                               RunModeFilePcapAutoFp);
@@ -70,7 +70,7 @@ int RunModeFilePcapSingle(DetectEngineCtx *de_ctx)
 {
     char *file = NULL;
     if (ConfGet("pcap-file.file", &file) == 0) {
-        SCLogError(SC_ERR_RUNMODE, "Failed retrieving pcap_file from Conf");
+        SCLogError(SC_ERR_RUNMODE, "Failed retrieving pcap-file from Conf");
         exit(EXIT_FAILURE);
     }
 
@@ -155,7 +155,7 @@ int RunModeFilePcapAuto(DetectEngineCtx *de_ctx)
 
     char *file = NULL;
     if (ConfGet("pcap-file.file", &file) == 0) {
-        SCLogError(SC_ERR_RUNMODE, "Failed retrieving pcap_file from Conf");
+        SCLogError(SC_ERR_RUNMODE, "Failed retrieving pcap-file from Conf");
         exit(EXIT_FAILURE);
     }
     SCLogDebug("file %s", file);
@@ -408,7 +408,7 @@ int RunModeFilePcapAutoFp(DetectEngineCtx *de_ctx)
 
     char *file = NULL;
     if (ConfGet("pcap-file.file", &file) == 0) {
-        SCLogError(SC_ERR_RUNMODE, "Failed retrieving pcap_file from Conf");
+        SCLogError(SC_ERR_RUNMODE, "Failed retrieving pcap-file from Conf");
         exit(EXIT_FAILURE);
     }
     SCLogDebug("file %s", file);