From d3556e4d40a12eda448f4def5bab3bef9df3992e Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 22 Apr 2007 18:24:09 +0000 Subject: [PATCH] Final fix for detectnets git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6064 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Rules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index b1f799afd..e8efc583c 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -1496,8 +1496,8 @@ sub generate_matrix() { if ( $chain1 ) { for my $interface ( keys %needbroadcast ) { - add_rule filter_table{output_chain $interface} , "-d 255.255.255.255 -j $chain1"; - add_rule filter_table{output_chain $interface} , "-d 224.0.0.0/4 -j $chain1"; + add_rule $filter_table->{output_chain $interface} , "-d 255.255.255.255 -j $chain1"; + add_rule $filter_table->{output_chain $interface} , "-d 224.0.0.0/4 -j $chain1"; } }