summaryrefslogtreecommitdiffstats
path: root/src
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:33 -0400
commit778fc728961ef2db92588e1e4e7d9d538099de87 (patch)
tree471227341b0904df28dceb3b9ee3b10720c11b02 /src
parent5ae2585b03f44f7e4ce126f64a7036a67a395bfe (diff)
downloadpfsense-778fc728961ef2db92588e1e4e7d9d538099de87.zip
pfsense-778fc728961ef2db92588e1e4e7d9d538099de87.tar.gz
Ensure a mobile P2 is marked as such when saving.
Diffstat (limited to 'src')
-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 d271f60..134fce6 100644
--- a/src/usr/local/www/vpn_ipsec_phase2.php
+++ b/src/usr/local/www/vpn_ipsec_phase2.php
@@ -129,6 +129,7 @@ if ($ph2found === true) {
if (isset($ph2['mobile'])) {
$pconfig['mobile'] = true;
+ $pconfig['remoteid_type'] = "mobile";
}
} else {
$pconfig['ikeid'] = $_GET['ikeid'];
@@ -146,6 +147,7 @@ if ($ph2found === true) {
/* mobile client */
if ($_GET['mobile']) {
$pconfig['mobile']=true;
+ $pconfig['remoteid_type'] = "mobile";
}
}
OpenPOWER on IntegriCloud