summaryrefslogtreecommitdiffstats
path: root/sys/netpfil
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2012-12-23 18:35:42 +0000
committermelifaro <melifaro@FreeBSD.org>2012-12-23 18:35:42 +0000
commita7a75993c7299476ce9044647924e53d68258b1b (patch)
tree0fa11551b0d790b41e7c41efc952a8aed216f521 /sys/netpfil
parent911df5a3324405f742e5c9eebd47c0f0bd606d09 (diff)
downloadFreeBSD-src-a7a75993c7299476ce9044647924e53d68258b1b.zip
FreeBSD-src-a7a75993c7299476ce9044647924e53d68258b1b.tar.gz
Add parentheses to IP_FW_ARG_TABLEARG() definition.
Suggested by: glebius MFC with: r244633
Diffstat (limited to 'sys/netpfil')
-rw-r--r--sys/netpfil/ipfw/ip_fw_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h
index 44a7720..3ae1165 100644
--- a/sys/netpfil/ipfw/ip_fw_private.h
+++ b/sys/netpfil/ipfw/ip_fw_private.h
@@ -259,7 +259,7 @@ struct sockopt; /* used by tcp_var.h */
(_cntr)->bcnt = 0; \
} while (0)
-#define IP_FW_ARG_TABLEARG(a) ((a) == IP_FW_TABLEARG) ? tablearg : (a)
+#define IP_FW_ARG_TABLEARG(a) (((a) == IP_FW_TABLEARG) ? tablearg : (a))
/*
* The lock is heavily used by ip_fw2.c (the main file) and ip_fw_nat.c
* so the variable and the macros must be here.
OpenPOWER on IntegriCloud