From e8934d79c9631315c0c7d7a5efe9c0b345825d3d Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 25 Apr 2007 16:27:48 +0000 Subject: [PATCH] Fix host list exclusion -- Take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6117 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } }