mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
Fix another exclusion bug
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6119 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b27cc81582
commit
41b02f5029
@ -104,7 +104,7 @@ sub add_group_to_zone($$$$$)
|
||||
$interfaceref = ( $typeref->{$type} || ( $interfaceref = $typeref->{$type} = {} ) );
|
||||
$arrayref = ( $interfaceref->{$interface} || ( $interfaceref->{$interface} = [] ) );
|
||||
|
||||
$zoneref->{options}{complex} = 1 if @$arrayref || ( @newnetworks > 1 );
|
||||
$zoneref->{options}{complex} = 1 if @$arrayref || ( @newnetworks > 1 ) || ( @exclusions );
|
||||
|
||||
my %h;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user