Fix silly bug in capabilities detection

This commit is contained in:
Tom Eastep 2009-05-28 06:42:47 -07:00
parent acf40290a5
commit d0d999488b

View File

@ -1986,9 +1986,9 @@ sub determine_capabilities( $ ) {
$capabilities{RAW_TABLE} = qt1( "$iptables -t raw -L -n" );
my $ipset = $config{IPSET} || 'tc';
my $ipset = $config{IPSET} || 'ipset';
$ipset = which 'ipset' unless $ipset =~ '//';
$ipset = which $ipset unless $ipset =~ '//';
if ( $ipset && -x $ipset ) {
qt( "$ipset -X $sillyname" );