mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 21:01:20 +01:00
Correct push_action_params()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
42aa3724af
commit
ad71faacaa
@ -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( $ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user