From 31b6e9e299c6ae4779a5968a2eb71782377bc1d1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 18 Oct 2016 10:15:43 -0700 Subject: [PATCH] Fix another DEST bug in mangle inline action handling :-( 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 f5ecbda24..ceb857159 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -3958,7 +3958,7 @@ sub process_mangle_inline( $$$$$$$$$$$$$$$$$$$ ) { } $msource = $source if $msource eq '-'; - $mdest = $dest if $msource eq '-'; + $mdest = $dest if $mdest eq '-'; $mprotos = $protos if $mprotos eq '-'; for my $proto (split_list( $mprotos, 'Protocol' ) ) {