]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ebpf/util: change flow storage to new 'id' type
authorJuliana Fajardini <jufajardini@gmail.com>
Wed, 14 Apr 2021 13:15:59 +0000 (14:15 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 15 Apr 2021 13:45:14 +0000 (15:45 +0200)
src/util-ebpf.c

index 94236aff5b8c40c257afbefc7f6244dbcfc9f8d2..83526de8cc0b7d90ed5786f86435547c40925e2d 100644 (file)
@@ -61,7 +61,7 @@
 #define BYPASSED_FLOW_TIMEOUT   60
 
 static LiveDevStorageId g_livedev_storage_id = { .id = -1 };
-static int g_flow_storage_id = -1; // TODO change this in a different commit
+static FlowStorageId g_flow_storage_id = { .id = -1 };
 
 struct bpf_map_item {
     char iface[IFNAMSIZ];