diff --git a/src/host.c b/src/host.c index 526f9f7509..c3efa1b1c5 100644 --- a/src/host.c +++ b/src/host.c @@ -166,6 +166,8 @@ void HostInitConfig(char quiet) if (ByteExtractStringUint32(&configval, 10, strlen(conf_val), conf_val) > 0) { host_config.prealloc = configval; + } else { + WarnInvalidConfEntry("host.prealloc", "%"PRIu32, host_config.prealloc); } } SCLogDebug("Host config from suricata.yaml: memcap: %"PRIu64", hash-size: "