summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase2.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php
index 382030b..6848efd 100644
--- a/usr/local/www/vpn_ipsec_phase2.php
+++ b/usr/local/www/vpn_ipsec_phase2.php
@@ -189,8 +189,6 @@ if ($_POST) {
}
/* Validate enabled phase2's are not duplicates */
if (isset($pconfig['mobile'])){
- if (substr($pconfig['mode'], 0, 6) != "tunnel")
- $input_errors[] = gettext("Mobile IPsec only supports Tunnel mode.");
/* User is adding phase 2 for mobile phase1 */
foreach($a_phase2 as $key => $name){
if (isset($name['mobile'])){
OpenPOWER on IntegriCloud