mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 22:18:57 +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 $ipset = $config{IPSET} || 'ipset';
|
||||||
my $result = 0;
|
my $result = 0;
|
||||||
|
|
||||||
$ipset = which $ipset unless $ipset =~ '//';
|
$ipset = which $ipset unless $ipset =~ '^/';
|
||||||
|
|
||||||
if ( $ipset && -x $ipset ) {
|
if ( $ipset && -x $ipset ) {
|
||||||
qt( "$ipset -X $sillyname" );
|
qt( "$ipset -X $sillyname" );
|
||||||
|
Loading…
Reference in New Issue
Block a user