From f85f952a77decba01ada7deb9cdebd4a4a43fcdf Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 18 Apr 2007 21:07:32 +0000 Subject: [PATCH] remove newbi accent from 'new_chain' git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6009 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 5221fa16d..62ff66c89 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -454,11 +454,10 @@ sub new_chain($$) { my ($table, $chain) = @_; my %ch; - my @rules; $ch{name} = $chain; - $ch{log} = 1 if $globals{LOGRULENUMBERS}; - $ch{rules} = \@rules; + $ch{log} = 1 if $globals{LOGRULENUMBERS}; + $ch{rules} = []; $ch{table} = $table; $chain_table{$table}{$chain} = \%ch; \%ch;