From 778fc728961ef2db92588e1e4e7d9d538099de87 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(+) (limited to 'src') 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"; } } -- cgit v1.1