af-packet: fix default in pinned maps name

pull/3952/head
Eric Leblond 7 years ago committed by Victor Julien
parent eff56acca5
commit 5b056c15bf

@ -394,7 +394,7 @@ static void *ParseAFPConfig(const char *iface)
aconf->iface); aconf->iface);
aconf->ebpf_t_config.flags |= EBPF_PINNED_MAPS; aconf->ebpf_t_config.flags |= EBPF_PINNED_MAPS;
} }
const char *pinned_maps_name; const char *pinned_maps_name = NULL;
if (ConfGetChildValueWithDefault(if_root, if_default, if (ConfGetChildValueWithDefault(if_root, if_default,
"pinned-maps-name", "pinned-maps-name",
&pinned_maps_name) != 1) { &pinned_maps_name) != 1) {

Loading…
Cancel
Save