mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 05:58:44 +01:00
Don't enforce FASTACCEPT/BLACKLISTNEWONLY on convert
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
10cda4cee7
commit
55ab498291
@ -4849,7 +4849,6 @@ sub update_config_file( $$ ) {
|
|||||||
unless ( supplied $config{BLACKLIST} ) {
|
unless ( supplied $config{BLACKLIST} ) {
|
||||||
if ( $config{BLACKLISTNEWONLY} ) {
|
if ( $config{BLACKLISTNEWONLY} ) {
|
||||||
default_yes_no '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' ) {
|
if ( have_capability 'RAW_TABLE' ) {
|
||||||
$globals{BLACKLIST_STATES} = $config{BLACKLISTNEWONLY} ? 'NEW,INVALID,UNTRACKED' : 'NEW,ESTABLISHED,INVALID,UNTRACKED';
|
$globals{BLACKLIST_STATES} = $config{BLACKLISTNEWONLY} ? 'NEW,INVALID,UNTRACKED' : 'NEW,ESTABLISHED,INVALID,UNTRACKED';
|
||||||
|
Loading…
Reference in New Issue
Block a user