mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
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:
parent
86690a049e
commit
e8934d79c9
@ -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' );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user