summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-20 14:24:30 -0400
committerjim-p <jimp@pfsense.org>2014-05-20 14:24:30 -0400
commit8d9a95f9b6977ca8042e56ff87fb56d45d376903 (patch)
tree912777ea039d7281140b085777ac1276ae1b94eb /usr/local/www/vpn_ipsec_phase2.php
parent75786d2a26b128361bd0ee87a70da9addbcb10ec (diff)
downloadpfsense-8d9a95f9b6977ca8042e56ff87fb56d45d376903.zip
pfsense-8d9a95f9b6977ca8042e56ff87fb56d45d376903.tar.gz
This is not true any longer (and required for L2TP+IPsec)
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