From 680af9ed60f6e899ffe6299f3f220e7e6931a02b Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 22 Apr 2007 21:42:35 +0000 Subject: [PATCH] Make BLACKLISTNEWONLY=No and FASTACCEPT=Yes mutually exclusive git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6068 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Config.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Shorewall-perl/Shorewall/Config.pm b/Shorewall-perl/Shorewall/Config.pm index 3454b0a67..b34c585ac 100644 --- a/Shorewall-perl/Shorewall/Config.pm +++ b/Shorewall-perl/Shorewall/Config.pm @@ -853,6 +853,9 @@ sub get_configuration( $ ) { warning_message 'MAPOLDACTIONS=Yes is not supported by Shorewall-perl ' . $globals{VERSION} if $config{MAPOLDACTIONS}; default_yes_no 'FASTACCEPT' , ''; + + fatal_error "BLACKLISTNEWONLY=No may not be specified with FASTACCEPT=Yes" if $config{FASTACCEPT} && ! $config{BLACKLISTNEWONLY}; + default_yes_no 'IMPLICIT_CONTINUE' , ''; default_yes_no 'HIGH_ROUTE_MARKS' , ''; default_yes_no 'TC_EXPERT' , '';