mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-16 04:33:17 +01:00
Make FAKE_AUDIT work again
This commit is contained in:
parent
59c11e205b
commit
cf0275a049
@ -333,7 +333,6 @@ our $family;
|
|||||||
#
|
#
|
||||||
my %builtin_target = ( ACCEPT => 1,
|
my %builtin_target = ( ACCEPT => 1,
|
||||||
ACCOUNT => 1,
|
ACCOUNT => 1,
|
||||||
AUDIT => 1,
|
|
||||||
CHAOS => 1,
|
CHAOS => 1,
|
||||||
CHECKSUM => 1,
|
CHECKSUM => 1,
|
||||||
CLASSIFY => 1,
|
CLASSIFY => 1,
|
||||||
@ -1657,7 +1656,12 @@ sub initialize_chain_table($) {
|
|||||||
#
|
#
|
||||||
# Create these chains early in case they are needed by Policy actions
|
# Create these chains early in case they are needed by Policy actions
|
||||||
#
|
#
|
||||||
dont_delete new_standard_chain 'AUDIT', 0 if $config{FAKE_AUDIT};
|
if ( $config{FAKE_AUDIT} ) {
|
||||||
|
dont_delete new_standard_chain 'AUDIT', 0;
|
||||||
|
} else {
|
||||||
|
$builtin_target{AUDIT} = 111;
|
||||||
|
}
|
||||||
|
|
||||||
dont_move new_standard_chain 'reject';
|
dont_move new_standard_chain 'reject';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user