forked from extern/shorewall_code
Delete unnecessary function
This commit is contained in:
parent
e748341afd
commit
2d53f8cb0c
@ -2888,15 +2888,6 @@ sub emitr( $ ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Simple version that only handles rules
|
|
||||||
#
|
|
||||||
sub emitr1( $ ) {
|
|
||||||
my $rule = $_[0];
|
|
||||||
|
|
||||||
emit_unindented $rule;
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate the netfilter input
|
# Generate the netfilter input
|
||||||
#
|
#
|
||||||
@ -3184,7 +3175,7 @@ sub create_stop_load( $ ) {
|
|||||||
# Then emit the rules
|
# Then emit the rules
|
||||||
#
|
#
|
||||||
for my $chainref ( @chains ) {
|
for my $chainref ( @chains ) {
|
||||||
emitr1 $_ for @{$chainref->{rules}};
|
emit_unindented $_ for @{$chainref->{rules}};
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
# Commit the changes to the table
|
# Commit the changes to the table
|
||||||
|
Loading…
Reference in New Issue
Block a user