Fix SAME:

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6127 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-26 22:16:40 +00:00
parent 76506f7c1f
commit 8721d87fe3

View File

@ -177,7 +177,7 @@ sub setup_one_masq($$$$$$)
for my $addr ( split /,/, $addresses ) {
$target .= "--to $addr ";
}
} elsif ( $addresses =~ /^SAME:nodst:/ ) {
} elsif ( $addresses =~ /^SAME:/ ) {
$target = '-j SAME ';
$addresses =~ s/.*://;
for my $addr ( split /,/, $addresses ) {