1
0
mirror of https://gitlab.com/shorewall/code.git synced 2025-07-13 21:09:15 +02:00

Don't enforce FASTACCEPT/BLACKLISTNEWONLY on convert

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2015-08-29 12:51:52 -07:00
parent 10cda4cee7
commit 55ab498291

@ -4849,7 +4849,6 @@ sub update_config_file( $$ ) {
unless ( supplied $config{BLACKLIST} ) {
if ( $config{BLACKLISTNEWONLY} ) {
default_yes_no 'BLACKLISTNEWONLY' , '';
fatal_error "BLACKLISTNEWONLY=No may not be specified with FASTACCEPT=Yes" if $config{FASTACCEPT} && ! $config{BLACKLISTNEWONLY};
if ( have_capability 'RAW_TABLE' ) {
$globals{BLACKLIST_STATES} = $config{BLACKLISTNEWONLY} ? 'NEW,INVALID,UNTRACKED' : 'NEW,ESTABLISHED,INVALID,UNTRACKED';