mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 14:08:45 +01:00
Fix IPSET issue
This commit is contained in:
parent
503b1cf795
commit
e7340dabc0
@ -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