On Tue, Nov 11, 2014 at 07:30:28PM +0100, Arturo Borrero Gonzalez wrote: > diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h > index 468da5c..4872226 100644 > --- a/iptables/nft-shared.h > +++ b/iptables/nft-shared.h > @@ -38,6 +38,12 @@ > > struct xtables_args; > > +#define NFT_INVFLAGS2CMP(op, invflags, flag) \ > + if (invflags & flag) \ > + op = NFT_CMP_NEQ; \ > + else \ > + op = NFT_CMP_EQ; \ No macros please, use a function instead and place it in iptables/nft.c -- 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