- info(" * %sing %s table",
- complete ? "Flush" : "Clear", tables[table]);
+ info(" * %sing %s %s table", complete ? "Flush" : "Clear",
+ fw3_flag_names[family], fw3_flag_names[table]);
+
+ fw3_pr("*%s\n", fw3_flag_names[table]);
+
+ if (complete)
+ {
+ fw3_flush_all(table);
+ }
+ else
+ {
+ /* pass 1 */
+ fw3_flush_rules(table, family, false, reload, state);
+ fw3_flush_zones(table, family, false, reload, state);
+
+ /* pass 2 */
+ fw3_flush_rules(table, family, true, reload, state);
+ fw3_flush_zones(table, family, true, reload, state);
+ }