forked from extern/shorewall_code
Attempt to fix interface 'routeback'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5593 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
09eff209ff
commit
5773bc86e0
@ -169,6 +169,8 @@ sub validate_interfaces_file()
|
|||||||
$interfaces{$interface}{broadcast} = \@broadcast;
|
$interfaces{$interface}{broadcast} = \@broadcast;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $optionsref = {};
|
||||||
|
|
||||||
if ( $options )
|
if ( $options )
|
||||||
{
|
{
|
||||||
my %options;
|
my %options;
|
||||||
@ -188,12 +190,12 @@ sub validate_interfaces_file()
|
|||||||
|
|
||||||
$zoneref->{options}{in_out}{routeback} = 1 if $options{routeback};
|
$zoneref->{options}{in_out}{routeback} = 1 if $options{routeback};
|
||||||
|
|
||||||
$interfaces{$interface}{options} = \%options;
|
$interfaces{$interface}{options} = $optionsref = \%options;
|
||||||
}
|
}
|
||||||
|
|
||||||
push @interfaces, $interface;
|
push @interfaces, $interface;
|
||||||
|
|
||||||
add_group_to_zone( $zone, $zoneref->{type}, $interface, \@allipv4, {} ) if $zone;
|
add_group_to_zone( $zone, $zoneref->{type}, $interface, \@allipv4, $optionsref ) if $zone;
|
||||||
|
|
||||||
$interfaces{$interface}{zone} = $zone; #Must follow the call to add_group_to_zone()
|
$interfaces{$interface}{zone} = $zone; #Must follow the call to add_group_to_zone()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user