On Thu, Nov 28, 2013 at 12:30:10PM +0100, Arturo Borrero Gonzalez wrote: > This fix the warning: > > In file included from nft-expr_target-test.c:19:0: > /usr/include/linux/netfilter_ipv4/ipt_LOG.h:4:2: warning: > #warning "Please update iptables, this file will be removed soon!" [-Wcpp] Applied. I have also included a copy of xt_LOG.h to avoid breaking the compilation of the library if that header is missing in the system. It's not installed and it's just a few extra bytes in the tree. BTW, I remember that Eric asked to remove the compat part (LOG and iprange) that is included in the nft-rule-add example some time ago. Back then, we had no automated tests and it was providing a simple way to make sure that xtables compat stuff was still working over nftables. Now, I think it's better if we just include native nftables instructions there not to get people confused. Would you rework the nft-rule-add.c to add a simple nftables rule using native instructions? Thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html