Commit f0d3d30d authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(ipsec) fix issue when using both tunnels and roadwarrior in the same config

(cherry picked from commit 2278a4fa)
parent a8f14370
......@@ -576,7 +576,7 @@ EOD;
}
$rightsourceip = NULL;
if (!empty($a_client['pool_address'])) {
if (!empty($a_client['pool_address']) && isset($ph1ent['mobile']) ) {
$rightsourceip = "\trightsourceip = {$a_client['pool_address']}/{$a_client['pool_netbits']}\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment