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"; } }