From 2ed11c7e15b822693a4e1d68566e4a061b7ea0be Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 12 Sep 2017 11:55:53 -0700 Subject: [PATCH] Default ADD_IP_ALIASES to 'No' in Shorewall6 Signed-off-by: Tom Eastep --- 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 26df4b5bd..e1bb9fb8e 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -6251,7 +6251,7 @@ sub get_configuration( $$$$ ) { $config{LOG_VERBOSITY} = -1; } - default_yes_no 'ADD_IP_ALIASES' , 'Yes'; + default_yes_no 'ADD_IP_ALIASES' , $family == F_IPV4 ? 'Yes' : ''; default_yes_no 'ADD_SNAT_ALIASES' , ''; default_yes_no 'DETECT_DNAT_IPADDRS' , ''; default_yes_no 'DETECT_DNAT_IPADDRS' , '';