Store ipset storage method and matches in state file, keep iprange and ports if set
[project/firewall3.git] / zones.c
diff --git a/zones.c b/zones.c
index 0306a0c..55f2e6c 100644 (file)
--- a/zones.c
+++ b/zones.c
@@ -487,8 +487,7 @@ fw3_print_zone_chains(struct fw3_state *state, enum fw3_family family,
        struct fw3_zone *zone;
 
        list_for_each_entry(zone, &state->zones, list)
-               if (!hasbit(zone->flags[0], FW3_FLAG_DELETED))
-                       print_zone_chain(state, family, table, reload, zone);
+               print_zone_chain(state, family, table, reload, zone);
 }
 
 void
@@ -498,8 +497,7 @@ fw3_print_zone_rules(struct fw3_state *state, enum fw3_family family,
        struct fw3_zone *zone;
 
        list_for_each_entry(zone, &state->zones, list)
-               if (!hasbit(zone->flags[0], FW3_FLAG_DELETED))
-                       print_zone_rule(state, family, table, reload, zone);
+               print_zone_rule(state, family, table, reload, zone);
 }
 
 void
@@ -561,7 +559,7 @@ fw3_hotplug_zones(struct fw3_state *state, bool add)
 }
 
 struct fw3_zone *
-fw3_lookup_zone(struct fw3_state *state, const char *name, bool running)
+fw3_lookup_zone(struct fw3_state *state, const char *name)
 {
        struct fw3_zone *z;