mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-21 21:18:55 +01:00
Fix IPSET issue
This commit is contained in:
parent
e16b8768f2
commit
30f4e98fce
@ -2351,7 +2351,7 @@ sub IPSet_Match() {
|
||||
my $ipset = $config{IPSET} || 'ipset';
|
||||
my $result = 0;
|
||||
|
||||
$ipset = which $ipset unless $ipset =~ '//';
|
||||
$ipset = which $ipset unless $ipset =~ '^/';
|
||||
|
||||
if ( $ipset && -x $ipset ) {
|
||||
qt( "$ipset -X $sillyname" );
|
||||
|
Loading…
Reference in New Issue
Block a user