mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Delete some blank lines
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3ec2bf621b
commit
59024ff49d
@ -523,7 +523,6 @@ sub trace( $$$$ ) {
|
|||||||
#
|
#
|
||||||
# Chain reference , Command, ...
|
# Chain reference , Command, ...
|
||||||
#
|
#
|
||||||
|
|
||||||
sub add_commands ( $$;@ ) {
|
sub add_commands ( $$;@ ) {
|
||||||
my $chainref = shift @_;
|
my $chainref = shift @_;
|
||||||
my $indentation = ' ' x $chainref->{cmdlevel};
|
my $indentation = ' ' x $chainref->{cmdlevel};
|
||||||
@ -620,7 +619,6 @@ sub handle_port_list( $$$$$$ ) {
|
|||||||
#
|
#
|
||||||
# This much simpler function splits a rule with an icmp type list into discrete rules
|
# This much simpler function splits a rule with an icmp type list into discrete rules
|
||||||
#
|
#
|
||||||
|
|
||||||
sub handle_icmptype_list( $$$$ ) {
|
sub handle_icmptype_list( $$$$ ) {
|
||||||
my ($chainref, $first, $types, $rest) = @_;
|
my ($chainref, $first, $types, $rest) = @_;
|
||||||
my @ports = split ',', $types;
|
my @ports = split ',', $types;
|
||||||
@ -820,7 +818,7 @@ sub decrement_reference_count( $$ ) {
|
|||||||
# The rules generated by interface options are added to the interfaces's input chain and
|
# The rules generated by interface options are added to the interfaces's input chain and
|
||||||
# forward chain. Shorewall::Rules::generate_matrix() may decide to move those rules to
|
# forward chain. Shorewall::Rules::generate_matrix() may decide to move those rules to
|
||||||
# the head of a rules chain (behind any blacklist rule already there).
|
# the head of a rules chain (behind any blacklist rule already there).
|
||||||
|
#
|
||||||
sub move_rules( $$ ) {
|
sub move_rules( $$ ) {
|
||||||
my ($chain1, $chain2 ) = @_;
|
my ($chain1, $chain2 ) = @_;
|
||||||
|
|
||||||
@ -872,7 +870,6 @@ sub move_rules( $$ ) {
|
|||||||
#
|
#
|
||||||
# Replace the jump at the end of one chain (chain2) with the rules from another chain (chain1).
|
# Replace the jump at the end of one chain (chain2) with the rules from another chain (chain1).
|
||||||
#
|
#
|
||||||
|
|
||||||
sub copy_rules( $$;$ ) {
|
sub copy_rules( $$;$ ) {
|
||||||
my ($chain1, $chain2, $nojump ) = @_;
|
my ($chain1, $chain2, $nojump ) = @_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user