diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-03-11 12:46:32 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-03-11 21:41:24 +0100 |
commit | 16037f5d804ef952d61f93d09d7f9f0060072401 (patch) | |
tree | 70eab3b5d5d15b9c4cb9e34d50b5ee3f841e9e66 /ipsets.c | |
parent | a4b710143626b399783865a3ea31bdb25aa1bac9 (diff) | |
download | firewall3-16037f5d804ef952d61f93d09d7f9f0060072401.tar.gz |
Rework zone flush logic
Diffstat (limited to 'ipsets.c')
-rw-r--r-- | ipsets.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -379,9 +379,9 @@ fw3_destroy_ipsets(struct fw3_state *state, enum fw3_family family) list_for_each_entry_safe(s, tmp, &state->running_ipsets, running_list) { - delbit(s->running_flags, family); + del(s->flags, family, family); - if (fw3_no_family(s->running_flags)) + if (fw3_no_family(s->flags[family == FW3_FAMILY_V6])) { info(" * Deleting ipset %s", s->name); |