From ad71faacaae771436403fac218b2862d2213168e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 2 Jul 2011 15:04:59 -0700 Subject: [PATCH] Correct push_action_params() Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 1925b7128..93b41dac4 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -1803,7 +1803,7 @@ sub embedded_perl( $ ) { # sub push_action_params( $$ ) { my @params = split /,/, $_[1]; - my $oldparams = \@actparms; + my @oldparams = @actparms; @actparms = (); @@ -1815,7 +1815,7 @@ sub push_action_params( $$ ) { $actparms[$i] = $val eq '-' ? '' : $val eq '--' ? '-' : $val; } - $oldparams; + \@oldparams; } sub pop_action_params( $ ) {