mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Require at least one zone for a provider
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e1f7a9dbf8
commit
bd64baa8d9
@ -512,6 +512,8 @@ sub process_a_provider( $ ) {
|
||||
$maxload += $load;
|
||||
}
|
||||
|
||||
fatal_error "A provider interface must have at least one associated zone" unless $tproxy || %{interface_zones($interface)};
|
||||
|
||||
if ( $local ) {
|
||||
fatal_error "GATEWAY not valid with 'local' provider" unless $gatewaycase eq 'none';
|
||||
fatal_error "'track' not valid with 'local'" if $track;
|
||||
|
Loading…
Reference in New Issue
Block a user