summaryrefslogtreecommitdiff
path: root/src/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iptables.c')
-rw-r--r--src/iptables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iptables.c b/src/iptables.c
index 1668df7e..16c37013 100644
--- a/src/iptables.c
+++ b/src/iptables.c
@@ -1580,6 +1580,10 @@ static int iptables_command(int argc, char *argv[])
invert = FALSE;
}
+ for (tmp_xt_rm = xt_rm; tmp_xt_rm != NULL;
+ tmp_xt_rm = tmp_xt_rm->next)
+ xtables_option_mfcall(tmp_xt_rm->match);
+
if (xt_t != NULL)
xtables_option_tfcall(xt_t);