mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
Don't assume 'destonly' with 'local'.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6551d67b2e
commit
2fb01bec8d
@ -2168,7 +2168,7 @@ sub generate_matrix() {
|
|||||||
#
|
#
|
||||||
# FORWARDING Jump for non-IPSEC host group
|
# FORWARDING Jump for non-IPSEC host group
|
||||||
#
|
#
|
||||||
add_forward_jump( $zone, $interface, $hostref, $net, $exclusions, $frwd_ref, $isport, $bridge ) if $frwd_ref && $hostref->{ipsec} ne 'ipsec';
|
add_forward_jump( $zone, $interface, $hostref, $net, $exclusions, $frwd_ref, $isport, $bridge ) if $frwd_ref && ( $hostref->{ipsec} ne 'ipsec' && ! $hostref->{options}{local} );
|
||||||
}
|
}
|
||||||
} # Subnet Loop
|
} # Subnet Loop
|
||||||
} # Hostref Loop
|
} # Hostref Loop
|
||||||
|
@ -1270,8 +1270,6 @@ sub process_interface( $$ ) {
|
|||||||
$options{ignore} ||= 0;
|
$options{ignore} ||= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$hostoptionsref->{destonly} = 1 if $hostoptionsref->{local};
|
|
||||||
|
|
||||||
$physical{$physical} = $interfaces{$interface} = { name => $interface ,
|
$physical{$physical} = $interfaces{$interface} = { name => $interface ,
|
||||||
bridge => $bridge ,
|
bridge => $bridge ,
|
||||||
filter => $filterref ,
|
filter => $filterref ,
|
||||||
|
Loading…
Reference in New Issue
Block a user