forked from extern/shorewall_code
Correct trace output
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b84a9e16e6
commit
4989f694cd
@ -1682,8 +1682,8 @@ sub insert_irule( $$$$;@ ) {
|
||||
$ruleref->{comment} = shortlineinfo( $chainref->{origin} ) || $ruleref->{comment} || $comment;
|
||||
|
||||
if ( $number >= @$rulesref ) {
|
||||
$number = @$rulesref;
|
||||
push @$rulesref, $ruleref;
|
||||
$number = @$rulesref;
|
||||
} else {
|
||||
splice( @$rulesref, $number, 0, $ruleref );
|
||||
$number++;
|
||||
|
Loading…
Reference in New Issue
Block a user