- fw3_print_flush_rules(table, family, state, complete);
+
+ if (complete)
+ {
+ fw3_flush_all(table);
+ }
+ else
+ {
+ /* pass 1 */
+ fw3_flush_rules(table, family, false, statefile);
+ fw3_flush_zones(table, family, false, statefile);
+
+ /* pass 2 */
+ fw3_flush_rules(table, family, true, statefile);
+ fw3_flush_zones(table, family, true, statefile);
+ }
+