iptables: Finalize matches extensions setup
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Thu, 27 Oct 2011 07:26:40 +0000 (10:26 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Oct 2011 19:34:28 +0000 (21:34 +0200)
src/iptables.c

index 1668df7..16c3701 100644 (file)
@@ -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);