mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02:00
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…
x
Reference in New Issue
Block a user