From: Shivani Bhardwaj Date: Fri, 8 Oct 2021 06:00:44 +0000 (+0530) Subject: datasets: better err msg if type not defined X-Git-Tag: suricata-5.0.8~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e57d686a2f48dc6a92b5e8e97034c349840c92;p=thirdparty%2Fsuricata.git datasets: better err msg if type not defined --- diff --git a/src/datasets.c b/src/datasets.c index cb4592e2c4..e4ad194f70 100644 --- a/src/datasets.c +++ b/src/datasets.c @@ -460,7 +460,7 @@ Dataset *DatasetGet(const char *name, enum DatasetTypes type, return set; } else { if (type == DATASET_TYPE_NOTSET) { - SCLogError(SC_ERR_DATASET, "dataset %s not defined", name); + SCLogError(SC_ERR_DATASET, "dataset %s type not set", name); goto out_err; } }