Only use routing table for OUTPUT interface in the raw table.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-11-26 07:51:55 -08:00
parent 21c2963691
commit 3f550622bd

View File

@ -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
#