Store ipset storage method and matches in state file, keep iprange and ports if set
[project/firewall3.git] / defaults.c
index b5a94e6..f87ac92 100644 (file)
@@ -83,6 +83,9 @@ const struct fw3_option fw3_flag_opts[] = {
        FW3_OPT("custom_chains",       bool,     defaults, custom_chains),
        FW3_OPT("disable_ipv6",        bool,     defaults, disable_ipv6),
 
+       FW3_OPT("__flags_v4",          int,      defaults, flags[0]),
+       FW3_OPT("__flags_v6",          int,      defaults, flags[1]),
+
        { }
 };