mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 12:20:42 +01:00
Only use routing table for OUTPUT interface in the raw table.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
21c2963691
commit
3f550622bd
@ -6070,7 +6070,7 @@ sub verify_dest_interface( $$$$ ) {
|
||||
|
||||
fatal_error "Unknown Interface ($diface)" unless known_interface $diface;
|
||||
|
||||
if ( $restriction & ( PREROUTE_RESTRICT | OUTPUT_RESTRICT ) ) {
|
||||
if ( ( $restriction & PREROUTE_RESTRICT ) || ( $chainref->{table} eq 'raw' && ( $restriction & OUTPUT_RESTRICT ) ) ) {
|
||||
#
|
||||
# Dest interface -- must use routing table
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user