forked from extern/shorewall_code
Suppress another harmless Perl undefined value warnings
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9042 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
9d20374929
commit
58f9af7aa1
@ -284,7 +284,7 @@ sub determine_zones()
|
||||
fatal_error "Invalid zone type ($type)" if $1 && (($1 == 4 && $family == F_IPV6 ) || ( $1 == 6 && $family == F_IPV4 ));
|
||||
$type = 'ipsec';
|
||||
} elsif ( $type =~ /^bport([46])?$/i ) {
|
||||
fatal_error "Invalid zone type ($type)" if ( $1 == 4 && $family == F_IPV6 ) || ( $1 == 6 && $family == F_IPV4 );
|
||||
fatal_error "Invalid zone type ($type)" if $1 && (( $1 == 4 && $family == F_IPV6 ) || ( $1 == 6 && $family == F_IPV4 ));
|
||||
warning_message "Bridge Port zones should have a parent zone" unless @parents;
|
||||
$type = 'bport';
|
||||
push @bport_zones, $zone;
|
||||
|
Loading…
Reference in New Issue
Block a user