projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Further fixes for zone reloads
[project/firewall3.git]
/
defaults.c
diff --git
a/defaults.c
b/defaults.c
index
c025359
..
ec95ec9
100644
(file)
--- a/
defaults.c
+++ b/
defaults.c
@@
-416,8
+416,7
@@
fw3_flush_rules(struct fw3_ipt_handle *handle, struct fw3_state *state,
if (c->table != handle->table)
continue;
- if (c->flag &&
- !hasbit(defs->flags[handle->family == FW3_FAMILY_V6], c->flag))
+ if (c->flag && !has(defs->flags, handle->family, c->flag))
continue;
fw3_ipt_delete_rules(handle, c->format);