Commit 2278a4fa authored by Ad Schellevis's avatar Ad Schellevis

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

parent a193049d
......@@ -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