From d0d999488b04a8f0ddadb1e67b0b68ed97ce5d82 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 28 May 2009 06:42:47 -0700 Subject: [PATCH] Fix silly bug in capabilities detection --- Shorewall/Perl/Shorewall/Config.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 743134b03..7873c845c 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -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" );