[server] removed iptables '-C' redirection since 2>&1 is always appended by other macros
This commit is contained in:
parent
a7de80e66e
commit
baa964a8cd
@ -35,7 +35,7 @@
|
||||
|
||||
/* iptables command args
|
||||
*/
|
||||
#define IPT_CHK_RULE_ARGS "-C %s %s 2>&1"
|
||||
#define IPT_CHK_RULE_ARGS "-C %s %s" /* 2>&1 is always added in the second %s */
|
||||
#define IPT_RULE_ARGS "-t %s -p %i -s %s --dport %i -m comment --comment " EXPIRE_COMMENT_PREFIX "%u -j %s 2>&1"
|
||||
#define IPT_OUT_RULE_ARGS "-t %s -p %i -d %s --sport %i -m comment --comment " EXPIRE_COMMENT_PREFIX "%u -j %s 2>&1"
|
||||
#define IPT_FWD_RULE_ARGS "-t %s -p %i -s %s -d %s --dport %i -m comment --comment " EXPIRE_COMMENT_PREFIX "%u -j %s 2>&1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user