From 14c1539ced24a68d0175f2763cf2519a54d15fa2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 14 Aug 2013 16:50:49 +0200 Subject: [PATCH] Use "-j CT --notrack" instead of deprecated "-j NOTRACK" --- rules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.c b/rules.c index 1a4473b..bd2a57c 100644 --- a/rules.c +++ b/rules.c @@ -286,7 +286,8 @@ static void set_target(struct fw3_ipt_rule *r, struct fw3_rule *rule) return; case FW3_FLAG_NOTRACK: - fw3_ipt_rule_target(r, fw3_flag_names[rule->target]); + fw3_ipt_rule_target(r, "CT"); + fw3_ipt_rule_addarg(r, false, "--notrack", NULL); return; case FW3_FLAG_ACCEPT: -- 2.11.0