Disallow optional shared providers

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2018-07-19 09:57:06 -07:00
parent 410a20dda3
commit 0d682fe78b
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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 ) {