summaryrefslogtreecommitdiffstats
path: root/src/usr/local
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:05 -0400
commit9033b17c5c764eda878b3a99fb819a7cdb3a5f94 (patch)
tree36e92c592b85223dd29bd03f5538dc726f7c957b /src/usr/local
parent4281c9645a6c06fe475967e85f02fd9bd7c1b351 (diff)
downloadpfsense-9033b17c5c764eda878b3a99fb819a7cdb3a5f94.zip
pfsense-9033b17c5c764eda878b3a99fb819a7cdb3a5f94.tar.gz
Ensure a mobile P2 is marked as such when saving.
Diffstat (limited to 'src/usr/local')
-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 a4b4079..33e80a4 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