Add parentheses to IP_FW_ARG_TABLEARG() definition.

Suggested by:	glebius
MFC with:	r244633
This commit is contained in:
Alexander V. Chernikov 2012-12-23 18:35:42 +00:00
parent f37de965cc
commit 3abd4586a4

View File

@ -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.