]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
af-packet: be sure to nullify option if not set
authorEric Leblond <eric@regit.org>
Mon, 4 Mar 2019 22:18:36 +0000 (23:18 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
src/runmode-af-packet.c

index 8c1cc9c5daddee6e8e143d7575a7c9279ed13d70..8507c9598adc95b88dbf808f19d81e80c9a4f36b 100644 (file)
@@ -402,6 +402,8 @@ static void *ParseAFPConfig(const char *iface)
         } else {
             aconf->ebpf_t_config.pinned_maps_name = NULL;
         }
+    } else {
+        aconf->ebpf_t_config.pinned_maps_name = NULL;
     }
 #endif