diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm index 8be02960b..c67c076e6 100644 --- a/Shorewall/Perl/Shorewall/Nat.pm +++ b/Shorewall/Perl/Shorewall/Nat.pm @@ -289,7 +289,7 @@ sub process_one_masq1( $$$$$$$$$$$$ ) if ( supplied $rest ) { validate_portpair1( $proto, $rest ); - $addrlist .= "--to-source :$rest "; + $addrlist .= "--to-source $addr "; } else { $addrlist .= "--to-source $ipaddr"; }