diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 8cc8cd77e..b4204c0c5 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -2282,18 +2282,6 @@ sub create_chainlist_reload($) { enter_cmd_mode; - for $table qw(nat mangle filter) { - next unless $chains{$table}; - - my $tableref=$chain_table{$table}; - - @chains = sort @{$chains{$table}}; - - for my $chain ( @chains ) { - my $chainref = $tableref->{$chain}; - emit "\$IPTABLES -t $table -F $chain" if $chainref->{builtin}; - } - } # # Now generate the actual iptables-restore command #