mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Disallow optional shared providers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
410a20dda3
commit
0d682fe78b
@ -636,6 +636,7 @@ sub process_a_provider( $ ) {
|
||||
}
|
||||
|
||||
fatal_error "A provider interface must have at least one associated zone" unless $tproxy || %{interface_zones($interface)};
|
||||
fatal_error "An interface supporting multiple providers may not be optional" if $shared && $optional;
|
||||
|
||||
unless ( $pseudo ) {
|
||||
if ( $local ) {
|
||||
|
Loading…
Reference in New Issue
Block a user