Allow 'local' zone to work with 'destonly'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-22 07:34:04 -07:00
parent ac02c484f5
commit 8df8fe990a

View File

@ -1519,8 +1519,7 @@ sub add_interface_jumps {
our %forward_jump_added;
my @interfaces = grep $_ ne '%vserver%', @_;
my $dummy;
my $loref = known_interface('lo');
my $lo_jump_added = local_zone;
my $lo_jump_added = local_zone && ! get_interface_option( 'lo', 'destonly' );
#
# Add Nat jumps
#