svn commit: r244634 - head/sys/netpfil/ipfw
Alexander V. Chernikov
melifaro at FreeBSD.org
Sun Dec 23 18:35:43 UTC 2012
Author: melifaro
Date: Sun Dec 23 18:35:42 2012
New Revision: 244634
URL: http://svnweb.freebsd.org/changeset/base/244634
Log:
Add parentheses to IP_FW_ARG_TABLEARG() definition.
Suggested by: glebius
MFC with: r244633
Modified:
head/sys/netpfil/ipfw/ip_fw_private.h
Modified: head/sys/netpfil/ipfw/ip_fw_private.h
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_private.h Sun Dec 23 16:28:18 2012 (r244633)
+++ head/sys/netpfil/ipfw/ip_fw_private.h Sun Dec 23 18:35:42 2012 (r244634)
@@ -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.
More information about the svn-src-all
mailing list