mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 08:03:11 +01:00
Make 'local,destonly' work correctly.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bc6a38ca64
commit
2e293dd356
@ -1520,7 +1520,7 @@ sub add_interface_jumps {
|
|||||||
my @interfaces = grep $_ ne '%vserver%', @_;
|
my @interfaces = grep $_ ne '%vserver%', @_;
|
||||||
my $dummy;
|
my $dummy;
|
||||||
my $loref = known_interface('lo');
|
my $loref = known_interface('lo');
|
||||||
my $lo_jump_added = $loref && $loref->{options}{local};
|
my $lo_jump_added = $loref && $loref->{options}{local} && ! $loref->{options}{destonly};
|
||||||
#
|
#
|
||||||
# Add Nat jumps
|
# Add Nat jumps
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user