Fix the IPSET fix

This commit is contained in:
Tom Eastep 2010-06-17 09:31:57 -07:00
parent e61cf043eb
commit 9b1b6bf87a

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