From: Victor Julien Date: Thu, 3 Oct 2019 15:12:00 +0000 (+0200) Subject: thash: fix prealloc config setting X-Git-Tag: suricata-5.0.0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6cda99bcdeffce3fa775f0b2b414529e94bae11;p=thirdparty%2Fsuricata.git thash: fix prealloc config setting --- diff --git a/src/util-thash.c b/src/util-thash.c index c959cbb3b6..5b4f688c44 100644 --- a/src/util-thash.c +++ b/src/util-thash.c @@ -236,7 +236,7 @@ static void THashInitConfig(THashTableContext *ctx, const char *cnf_prefix) } } - GET_VAR(cnf_prefix, "hash-size"); + GET_VAR(cnf_prefix, "prealloc"); if ((ConfGet(varname, &conf_val)) == 1) { if (ByteExtractStringUint32(&configval, 10, strlen(conf_val),