diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 991a1a61b..e997363d7 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -2888,15 +2888,6 @@ sub emitr( $ ) { } } -# -# Simple version that only handles rules -# -sub emitr1( $ ) { - my $rule = $_[0]; - - emit_unindented $rule; -} - # # Generate the netfilter input # @@ -3184,7 +3175,7 @@ sub create_stop_load( $ ) { # Then emit the rules # for my $chainref ( @chains ) { - emitr1 $_ for @{$chainref->{rules}}; + emit_unindented $_ for @{$chainref->{rules}}; } # # Commit the changes to the table