Change fw3_no_family() macro to take bit field value directly
[project/firewall3.git] / utils.c
diff --git a/utils.c b/utils.c
index 2747a853a8b99f9b4e021b2c867092f8fd4d3156..ab1d68bbef66669b6955fe5af7c8c0d2ce3b8cbe 100644 (file)
--- a/utils.c
+++ b/utils.c
@@ -441,7 +441,7 @@ fw3_write_statefile(void *state)
        struct fw3_zone *z;
        struct fw3_ipset *i;
 
-       if (fw3_no_family(d))
+       if (fw3_no_family(d->flags))
        {
                if (unlink(FW3_STATEFILE))
                        warn("Unable to remove state %s: %s",