forked from extern/shorewall_code
Fix silly bug in capabilities detection
This commit is contained in:
parent
acf40290a5
commit
d0d999488b
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user