mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-06 01:36:44 +02:00
Set the interface routeback option if there are any IP host groups with 'routeback'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
79348d2b55
commit
dbd30f981c
@ -745,6 +745,8 @@ sub add_group_to_zone($$$$$)
|
|||||||
hosts => \@newnetworks,
|
hosts => \@newnetworks,
|
||||||
ipsec => $type == IPSEC ? 'ipsec' : 'none' ,
|
ipsec => $type == IPSEC ? 'ipsec' : 'none' ,
|
||||||
exclusions => \@exclusions };
|
exclusions => \@exclusions };
|
||||||
|
|
||||||
|
$interfaces{$interface}{options}{routeback} ||= ( $type != IPSEC && $options->{routeback} );
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user