summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase2.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php
index 02f73db..43a1a6f 100644
--- a/src/usr/local/www/vpn_ipsec_phase2.php
+++ b/src/usr/local/www/vpn_ipsec_phase2.php
@@ -97,6 +97,7 @@ if ($ph2found === true) {
if (isset($ph2['mobile'])) {
$pconfig['mobile'] = true;
+ $pconfig['remoteid_type'] = "mobile";
}
} else {
$pconfig['ikeid'] = $_GET['ikeid'];
@@ -114,6 +115,7 @@ if ($ph2found === true) {
/* mobile client */
if ($_GET['mobile']) {
$pconfig['mobile']=true;
+ $pconfig['remoteid_type'] = "mobile";
}
}
OpenPOWER on IntegriCloud