Fix host list exclusion -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6117 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-25 16:27:48 +00:00
parent 86690a049e
commit e8934d79c9

View File

@ -1347,7 +1347,7 @@ sub generate_matrix() {
for my $host ( @{$exclusionsref} ) {
my ( $interface, $net ) = split /:/, $host;
add_rule $chainref , join( '', "-i $interface ", match_source_net( $host ), '-j RETURN' );
add_rule $chainref , join( '', "-i $interface ", match_source_net( $net ), '-j RETURN' );
}
}