]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util/ebpf: fix compilation
authorEric Leblond <el@stamus-networks.com>
Wed, 11 May 2022 07:01:23 +0000 (09:01 +0200)
committerEric Leblond <el@stamus-networks.com>
Wed, 11 May 2022 07:14:40 +0000 (09:14 +0200)
Bug: #5360

src/util-ebpf.c

index b622b6ca00b6cb5882e5e409ce3fcc691606c0f7..2019911403321bc1b1da8ec7c2f2f01c30f1211c 100644 (file)
@@ -61,7 +61,7 @@
 #define BYPASSED_FLOW_TIMEOUT   60
 
 static int g_livedev_storage_id = -1;
-static int g_flow_storage_id = -1;
+static struct FlowStorageId g_flow_storage_id = { .id = -1 };
 
 struct bpf_map_item {
     char iface[IFNAMSIZ];