]> git.ipfire.org Git - thirdparty/iptables.git/commit
utils: nfsynproxy: fix error while compiling the BPF filter
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Nov 2013 18:06:06 +0000 (19:06 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Nov 2013 18:34:01 +0000 (19:34 +0100)
commit1fc21d3696cb108723bf7ab2b5d07a63e3701201
tree88481cb08b7e80b2863f9651166d390ec327ba12
parentcf1f03f8f3cf2db577a9ddee254cc7f886129d18
utils: nfsynproxy: fix error while compiling the BPF filter

Fix the following error while running nfsynproxy here:

 pcap_compile: not-yet-activated pcap_t passed to pcap_compile

According to what I have read, we have to compile the filter
once the pcap_t handle has been activated.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
utils/nfsynproxy.c