From 6db038f768d5045c29a0454cdf2f7e298d9e2f0f Mon Sep 17 00:00:00 2001 From: jim-p Date: Sat, 24 Sep 2016 11:08:05 -0400 Subject: Ensure a mobile P2 is marked as such when saving. --- src/usr/local/www/vpn_ipsec_phase2.php | 2 ++ 1 file changed, 2 insertions(+) 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"; } } -- cgit v1.1