]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
datasets: comments about format
authorEric Leblond <el@stamus-networks.com>
Mon, 9 Jun 2025 08:09:34 +0000 (10:09 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Jun 2025 18:49:18 +0000 (20:49 +0200)
src/datasets.h

index 4207b865e341a79251734d8eaa2f0b02820e7d79..6b0a97e46aaa2882216281176df7059cef26b850 100644 (file)
@@ -30,8 +30,8 @@ void DatasetPostReloadCleanup(void);
 
 typedef enum {
     DATASET_FORMAT_CSV = 0,
-    DATASET_FORMAT_JSON,
-    DATASET_FORMAT_NDJSON,
+    DATASET_FORMAT_JSON,   /* File contains one single JSON object */
+    DATASET_FORMAT_NDJSON, /* Newline Delimited JSON */
 } DatasetFormats;
 
 enum DatasetTypes {