From: Eric Leblond Date: Mon, 4 Mar 2019 22:18:36 +0000 (+0100) Subject: af-packet: be sure to nullify option if not set X-Git-Tag: suricata-5.0.0-rc1~358 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff56acca5563ef1b55c81deff49fbe66f992379;p=thirdparty%2Fsuricata.git af-packet: be sure to nullify option if not set --- diff --git a/src/runmode-af-packet.c b/src/runmode-af-packet.c index 8c1cc9c5da..8507c9598a 100644 --- a/src/runmode-af-packet.c +++ b/src/runmode-af-packet.c @@ -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