Set $have_ipsec after completing parse of the hosts file.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-01-30 07:26:35 -08:00
parent 659f774451
commit 3d39a47582

View File

@ -1276,6 +1276,8 @@ sub validate_hosts_file()
$ipsec |= process_host while read_a_line; $ipsec |= process_host while read_a_line;
$have_ipsec = $ipsec || haveipseczones;
} }
# #