mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-27 05:01:37 +02:00
Use '&' trick to avoid prototype matching
This commit is contained in:
parent
a0dffa787d
commit
12aecdef37
@ -1012,9 +1012,7 @@ sub find_chain($$) {
|
||||
#
|
||||
sub ensure_chain($$)
|
||||
{
|
||||
my ($table, $chain) = @_;
|
||||
|
||||
find_chain( $table, $chain ) || new_chain( $table, $chain );
|
||||
&find_chain( @_ ) || &new_chain( @_ );
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user