Browse Source

iptables: improved to only build BPF compiler if libpcap is available

stable/0.6
Christian Wiese 11 years ago
parent
commit
759f7e7db7
  1. 4
      network/iptables/iptables.conf

4
network/iptables/iptables.conf

@ -24,4 +24,6 @@ fi
# kernel >= 3.9 have BPF filter support
# enable to build/install the netfilter bpf compiler 'nfbpf_compile'
var_append extraconfopt ' ' "--enable-bpf-compiler"
if pkginstalled -f libpcap; then
var_append extraconfopt ' ' "--enable-bpf-compiler"
fi

Loading…
Cancel
Save