diff --git a/Shorewall-perl/Shorewall/Nat.pm b/Shorewall-perl/Shorewall/Nat.pm index 5c1c707ba..2032d7dea 100644 --- a/Shorewall-perl/Shorewall/Nat.pm +++ b/Shorewall-perl/Shorewall/Nat.pm @@ -172,7 +172,7 @@ sub setup_one_masq($$$$$$) # if ( $addresses ne '-' ) { if ( $addresses =~ /^SAME:nodst:/ ) { - $target = '-j SAME --nodst'; + $target = '-j SAME --nodst '; $addresses =~ s/.*://; for my $addr ( split /,/, $addresses ) { $target .= "--to $addr ";