projects
/
oweals
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zones: fix emitting match rules for zones with only "extra" options
[oweals/firewall3.git]
/
zones.c
diff --git
a/zones.c
b/zones.c
index 4f2b1e4bd88672d62250e972d78eebac151ab595..01fb706dd6dc5613dfebfd4859c3d71d557ab94b 100644
(file)
--- a/
zones.c
+++ b/
zones.c
@@
-594,7
+594,7
@@
print_interface_rules(struct fw3_ipt_handle *handle, struct fw3_state *state,
if (!fw3_is_family(sub, handle->family))
continue;
- if (!dev && !sub)
+ if (!dev && !sub
&& !zone->extra_src && !zone->extra_dest
)
continue;
print_interface_rule(handle, state, reload, zone, dev, sub);