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
This commit is contained in:
teastep 2007-04-22 21:42:35 +00:00
parent c0e5fcf6c6
commit 680af9ed60

View File

@ -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' , '';