diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-11-22 18:23:16 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-11-22 18:51:50 +0100 |
commit | 72a486f7fe4fce0d26b163445ba64ff9e14ead8b (patch) | |
tree | 403e5aed3351542bb870bbd55f0aea49dd29599a | |
parent | daed0cf9831c07863e5a2a572c2dd242fe757a31 (diff) | |
download | firewall3-72a486f7fe4fce0d26b163445ba64ff9e14ead8b.tar.gz |
zones: fix emitting match rules for zones with only "extra" options
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | zones.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |