diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index f8b40a93a..9d01ee72f 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -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' ); } }