Make 'local,destonly' work correctly.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-14 14:36:51 -07:00
parent bc6a38ca64
commit 2e293dd356

View File

@ -1520,7 +1520,7 @@ sub add_interface_jumps {
my @interfaces = grep $_ ne '%vserver%', @_;
my $dummy;
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
#