*/
SC_ATOMIC_DECLARE(unsigned int, engine_stage);
-/* Max packets processed simultaniously per thread. */
+/* Max packets processed simultaneously per thread. */
#define DEFAULT_MAX_PENDING_PACKETS 1024
/** suricata engine control flags */
bool g_system = false;
-/** disable randomness to get reproducible results accross runs */
+/** disable randomness to get reproducible results across runs */
#ifndef AFLFUZZ_NO_RANDOM
int g_disable_randomness = 0;
#else
}
if (ConfigCheckDataDirectory(optarg) != TM_ECODE_OK) {
SCLogError("The data directory \"%s\""
- " supplied at the commandline (-d %s) doesn't "
+ " supplied at the command-line (-d %s) doesn't "
"exist. Shutting down the engine.",
optarg, optarg);
return TM_ECODE_FAILED;
}
if (ConfigCheckLogDirectoryExists(optarg) != TM_ECODE_OK) {
SCLogError("The logging directory \"%s\""
- " supplied at the commandline (-l %s) doesn't "
+ " supplied at the command-line (-l %s) doesn't "
"exist. Shutting down the engine.",
optarg, optarg);
return TM_ECODE_FAILED;
}
if (!IsLogDirectoryWritable(optarg)) {
SCLogError("The logging directory \"%s\""
- " supplied at the commandline (-l %s) is not "
+ " supplied at the command-line (-l %s) is not "
"writable. Shutting down the engine.",
optarg, optarg);
return TM_ECODE_FAILED;
return TM_ECODE_FAILED;
}
- /* save the runmode from the commandline (if any) */
+ /* save the runmode from the command-line (if any) */
suri->aux_run_mode = suri->run_mode;
if (list_app_layer_protocols)
if (SCServiceInstall(argc, argv)) {
return TM_ECODE_FAILED;
}
- SCLogInfo("Suricata service has been successfuly installed.");
+ SCLogInfo("Suricata service has been successfully installed.");
return TM_ECODE_DONE;
case RUNMODE_REMOVE_SERVICE:
if (SCServiceRemove(argc, argv)) {
return TM_ECODE_FAILED;
}
- SCLogInfo("Suricata service has been successfuly removed.");
+ SCLogInfo("Suricata service has been successfully removed.");
return TM_ECODE_DONE;
case RUNMODE_CHANGE_SERVICE_PARAMS:
if (SCServiceChangeParams(argc, argv)) {
return TM_ECODE_FAILED;
}
- SCLogInfo("Suricata service startup parameters has been successfuly changed.");
+ SCLogInfo("Suricata service startup parameters has been successfully changed.");
return TM_ECODE_DONE;
#endif /* OS_WIN32 */
default:
if (InitSignalHandler(suri) != TM_ECODE_OK)
SCReturnInt(TM_ECODE_FAILED);
- /* Check for the existance of the default logging directory which we pick
+ /* Check for the existence of the default logging directory which we pick
* from suricata.yaml. If not found, shut the engine down */
suri->log_dir = ConfigGetLogDirectory();