From ebd847ef709466a84b84741cc0fc361ec296f2fa Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 28 Jan 2010 08:04:54 -0800 Subject: [PATCH] Don't display capabilties if they have not been determined Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Compiler.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index 718a7aa3e..a689a29e7 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -629,7 +629,7 @@ sub compiler { # get_configuration( $export ); - report_capabilities; + report_capabilities unless $config{LOAD_HELPERS_ONLY}; require_capability( 'MULTIPORT' , "Shorewall $globals{VERSION}" , 's' ); require_capability( 'RECENT_MATCH' , 'MACLIST_TTL' , 's' ) if $config{MACLIST_TTL};