forked from extern/shorewall_code
Fix multi-zone interface handling broken by 'detectnets' work
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6057 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
84fbca4917
commit
ab17a8ba51
@ -266,7 +266,7 @@ sub validate_interfaces_file()
|
||||
@networks = @allipv4;
|
||||
}
|
||||
|
||||
add_group_to_zone( $zone, $zoneref->{type}, $interface, \@networks, $optionsref ) if @networks;
|
||||
add_group_to_zone( $zone, $zoneref->{type}, $interface, \@networks, $optionsref ) if $zone && @networks;
|
||||
|
||||
$interfaces{$interface}{zone} = $zone; #Must follow the call to add_group_to_zone()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user