mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Move declaration to inner block where it is used
This commit is contained in:
parent
ab4e7cffcf
commit
dc643c67e9
@ -330,13 +330,14 @@ sub process_routestopped() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unless ( $options eq '-' ) {
|
unless ( $options eq '-' ) {
|
||||||
my $chainref = $filter_table->{FORWARD};
|
|
||||||
|
|
||||||
for my $option (split /,/, $options ) {
|
for my $option (split /,/, $options ) {
|
||||||
if ( $option eq 'routeback' ) {
|
if ( $option eq 'routeback' ) {
|
||||||
if ( $routeback ) {
|
if ( $routeback ) {
|
||||||
warning_message "Duplicate 'routeback' option ignored";
|
warning_message "Duplicate 'routeback' option ignored";
|
||||||
} else {
|
} else {
|
||||||
|
my $chainref = $filter_table->{FORWARD};
|
||||||
|
|
||||||
$routeback = 1;
|
$routeback = 1;
|
||||||
|
|
||||||
for my $host ( split /,/, $hosts ) {
|
for my $host ( split /,/, $hosts ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user