forked from extern/shorewall_code
Correct part of a recent patch to Nat.pm
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
41ecee356b
commit
60619fb3cb
@ -289,7 +289,7 @@ sub process_one_masq1( $$$$$$$$$$$$ )
|
|||||||
|
|
||||||
if ( supplied $rest ) {
|
if ( supplied $rest ) {
|
||||||
validate_portpair1( $proto, $rest );
|
validate_portpair1( $proto, $rest );
|
||||||
$addrlist .= "--to-source :$rest ";
|
$addrlist .= "--to-source $addr ";
|
||||||
} else {
|
} else {
|
||||||
$addrlist .= "--to-source $ipaddr";
|
$addrlist .= "--to-source $ipaddr";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user