Misc cleanup for 4.4.13

1. Replace statement with equivalent function call in promote_blacklist_rules()
2. Bump version of Tunnels.pm
3. Fix typo in comment in Zones.pm

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-09-20 08:15:24 -07:00
parent 59905e8744
commit f6f840bebf
3 changed files with 3 additions and 3 deletions

View File

@ -3746,7 +3746,7 @@ sub promote_blacklist_rules() {
#
unless ( $chain2ref->{blacklist} ) {
unshift @{$chain2ref->{rules}}, $rule;
$chainbref->{references}{$chain2ref->{name}}++;
add_reference $chain2ref, $chainbref;
$chain2ref->{blacklist} = 1;
}
}

View File

@ -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...

View File

@ -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( $$ ) {