aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_policy.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2007-12-17 22:44:06 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:59:08 -0800
commite79ec50b9587c175f65f98550d66ad5b96c05dd9 (patch)
tree9cefac924a8092a124b50fb2767927d3c92717c1 /net/netfilter/xt_policy.c
parent[NETFILTER]: Introduce nf_inet_address (diff)
downloadlinux-dev-e79ec50b9587c175f65f98550d66ad5b96c05dd9.tar.xz
linux-dev-e79ec50b9587c175f65f98550d66ad5b96c05dd9.zip
[NETFILTER]: Parenthesize macro parameters
Parenthesize macro parameters. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_policy.c')
-rw-r--r--net/netfilter/xt_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_policy.c b/net/netfilter/xt_policy.c
index 5a017b8b72d0..46ee7e81a7af 100644
--- a/net/netfilter/xt_policy.c
+++ b/net/netfilter/xt_policy.c
@@ -38,7 +38,7 @@ match_xfrm_state(const struct xfrm_state *x, const struct xt_policy_elem *e,
unsigned short family)
{
#define MATCH_ADDR(x,y,z) (!e->match.x || \
- (xt_addr_cmp(&e->x, &e->y, z, family) \
+ (xt_addr_cmp(&e->x, &e->y, (z), family) \
^ e->invert.x))
#define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x))