mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 20:30:43 +01:00
Purge %renamed before each table is processed.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
47ef3db53c
commit
3f7425b6a0
@ -3067,6 +3067,8 @@ sub optimize_level8( $$$ ) {
|
||||
|
||||
progress_message "\n Table $table pass $passes, $chains referenced user chains, level 8...";
|
||||
|
||||
%renamed = ();
|
||||
|
||||
for my $chainref ( @chains ) {
|
||||
my $digest = '';
|
||||
|
||||
@ -3443,7 +3445,7 @@ sub valid_tables() {
|
||||
push @table_list, 'rawpost' if have_capability( 'RAWPOST_TABLE' );
|
||||
push @table_list, 'nat' if have_capability( 'NAT_ENABLED' );
|
||||
push @table_list, 'mangle' if have_capability( 'MANGLE_ENABLED' ) && $config{MANGLE_ENABLED};
|
||||
push @table_list, 'filter';
|
||||
push @table_list, 'filter'; #MUST BE LAST!!!
|
||||
|
||||
@table_list;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user