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' ) ) {