From e6a2ba78a4393f8a1a9f098aa6725f611b0d1755 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 8 Sep 2017 10:05:37 -0700 Subject: [PATCH] Correct handling of DEST column during action invocation Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index d5226b484..8e9750c2d 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2842,7 +2842,7 @@ sub process_rule ( $$$$$$$$$$$$$$$$$$$$ ) { if ( $dst eq '-' ) { $dst = $nat_columns{dest}; - } elsif ( $inchain ) { + } elsif ( ! $inchain ) { # # Remove zone from destination #