Fix IPSET issue

This commit is contained in:
Tom Eastep 2010-06-17 06:52:05 -07:00
parent e16b8768f2
commit 30f4e98fce

View File

@ -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" );