From 9b1b6bf87a82c550517b545a9119d0e32d1fc4c3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 17 Jun 2010 09:31:57 -0700 Subject: [PATCH] Fix the IPSET fix --- Shorewall/Perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index d45461589..fbfc5e491 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -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" );