summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-09-24 11:08:05 -0400
committerjim-p <jimp@pfsense.org>2016-09-24 11:08:37 -0400
commit6db038f768d5045c29a0454cdf2f7e298d9e2f0f (patch)
tree77fe1d452173e31bbe6cc41ef342a4dddebf75a8
parent9a9661252aa6115d0fd0243bf303436d53afaaa3 (diff)
downloadpfsense-6db038f768d5045c29a0454cdf2f7e298d9e2f0f.zip
pfsense-6db038f768d5045c29a0454cdf2f7e298d9e2f0f.tar.gz
Ensure a mobile P2 is marked as such when saving.
-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