forked from extern/shorewall_code
Correct handling of handle_first_entry() to avoid runaway recursion.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
69b660ba56
commit
6ce392b08e
@ -2983,8 +2983,11 @@ sub handle_first_entry() {
|
|||||||
# $first_entry can contain either a function reference or a message. If it
|
# $first_entry can contain either a function reference or a message. If it
|
||||||
# contains a reference, call the function -- otherwise issue the message
|
# contains a reference, call the function -- otherwise issue the message
|
||||||
#
|
#
|
||||||
reftype( $first_entry ) ? $first_entry->() : progress_message2( $first_entry );
|
my $entry = $first_entry;
|
||||||
|
|
||||||
$first_entry = 0;
|
$first_entry = 0;
|
||||||
|
|
||||||
|
reftype( $entry ) ? $entry->() : progress_message2( $entry );
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user