diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 488422046..bf9448217 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -3772,7 +3772,7 @@ sub promote_blacklist_rules() { # unless ( $chain2ref->{blacklist} ) { unshift @{$chain2ref->{rules}}, $rule; - $chainbref->{references}{$chain2ref->{name}}++; + add_reference $chain2ref, $chainbref; $chain2ref->{blacklist} = 1; } } diff --git a/Shorewall/Perl/Shorewall/Tunnels.pm b/Shorewall/Perl/Shorewall/Tunnels.pm index 451c8b774..b0553eba6 100644 --- a/Shorewall/Perl/Shorewall/Tunnels.pm +++ b/Shorewall/Perl/Shorewall/Tunnels.pm @@ -34,7 +34,7 @@ use strict; our @ISA = qw(Exporter); our @EXPORT = qw( setup_tunnels ); our @EXPORT_OK = ( ); -our $VERSION = '4.4_9'; +our $VERSION = '4.4_13'; # # Here starts the tunnel stuff -- we really should get rid of this crap... diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index 62d6f4b1e..b3bce190b 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -1811,7 +1811,7 @@ sub find_hosts_by_option( $ ) { } # -# Retruns a reference to a list of zones with the passed in/out option +# Returns a reference to a list of zones with the passed in/out option # sub find_zones_by_option( $$ ) {