From: Nikolay Denev Date: Fri, 24 Feb 2012 20:36:38 +0000 (+0200) Subject: Fix some warning message still using underscored config vars. X-Git-Tag: suricata-1.3beta1~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fce226bb8d87d33157c2fc7c6fa883855e4fa5c;p=thirdparty%2Fsuricata.git Fix some warning message still using underscored config vars. --- diff --git a/src/runmode-pcap-file.c b/src/runmode-pcap-file.c index a45254e2e6..27c8edd7fc 100644 --- a/src/runmode-pcap-file.c +++ b/src/runmode-pcap-file.c @@ -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);