]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Revert "runmode: consider test mode a user mode"
authorVictor Julien <victor@inliniac.net>
Tue, 8 Oct 2019 19:48:24 +0000 (21:48 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 9 Oct 2019 13:26:59 +0000 (15:26 +0200)
This reverts commit 6dca50a322b08bbd6391f091787671305649671a.

The test mode should actually test in system mode by default as
that is what tools like Suricata-Update need before issuing a
reload command.

src/runmodes.c

index ca29fe0de65f60c37b7e98508aea063b338db310..1d7d82cbf0d2f95c79fcfef6a3311555b8e771cf 100644 (file)
@@ -491,7 +491,6 @@ int RunModeOutputFiledataEnabled(void)
 bool IsRunModeSystem(enum RunModes run_mode_to_check)
 {
     switch (run_mode_to_check) {
-        case RUNMODE_CONF_TEST:
         case RUNMODE_PCAP_FILE:
         case RUNMODE_ERF_FILE:
         case RUNMODE_ENGINE_ANALYSIS: