forked from extern/shorewall_code
Fix 'nodst' rule generation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6131 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
2434c4f1ea
commit
269dacda14
@ -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 ";
|
||||
|
Loading…
Reference in New Issue
Block a user