af-packet: fix loading of ebpf filter

pull/3952/head
Eric Leblond 6 years ago committed by Victor Julien
parent f8724485ed
commit bd28f77a1e

@ -429,6 +429,7 @@ static void *ParseAFPConfig(const char *iface)
ebpf_file);
aconf->ebpf_filter_file = ebpf_file;
aconf->ebpf_t_config.mode = AFP_MODE_EBPF_BYPASS;
aconf->ebpf_t_config.flags |= EBPF_SOCKET_FILTER;
#endif
ConfGetChildValueBoolWithDefault(if_root, if_default, "bypass", &conf_val);
if (conf_val) {

Loading…
Cancel
Save