From 269dacda14a95f1601d61eb789ec13e80eb93de1 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 27 Apr 2007 14:42:39 +0000 Subject: [PATCH] Fix 'nodst' rule generation git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6131 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Nat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ";