Correct handling of DEST column during action invocation

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-09-08 10:05:37 -07:00
parent 41ea3bdeda
commit e6a2ba78a4
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -2842,7 +2842,7 @@ sub process_rule ( $$$$$$$$$$$$$$$$$$$$ ) {
if ( $dst eq '-' ) {
$dst = $nat_columns{dest};
} elsif ( $inchain ) {
} elsif ( ! $inchain ) {
#
# Remove zone from destination
#