forked from extern/shorewall_code
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 "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 ) {
|
unless ( $pseudo ) {
|
||||||
if ( $local ) {
|
if ( $local ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user