diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index 34a738d2c..723bda54f 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -1276,6 +1276,8 @@ sub validate_hosts_file() $ipsec |= process_host while read_a_line; + $have_ipsec = $ipsec || haveipseczones; + } #