mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 03:23:47 +01:00
Make zones with multiple interfaces complex
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
051f09c35d
commit
c5aa17017d
@ -1834,6 +1834,8 @@ sub validate_hosts_file()
|
|||||||
|
|
||||||
$have_ipsec = $ipsec || haveipseczones;
|
$have_ipsec = $ipsec || haveipseczones;
|
||||||
|
|
||||||
|
$_->{options}{complex} ||= ( keys %{$_->{interfaces}} > 1 ) for values %zones;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user