summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase1.php
diff options
context:
space:
mode:
authorErmal Luçi <ermal.luci@gmail.com>2012-11-16 10:27:04 +0100
committerErmal Luçi <ermal.luci@gmail.com>2012-11-16 10:27:04 +0100
commitc7a7a4eeaf39a0d174a3d724550ceeec80c0bffd (patch)
treef73783e79af63794d98da33e4256d5f7ede95c32 /usr/local/www/vpn_ipsec_phase1.php
parent31fcd0bd7ba37fe64e3c6a803043399d0f8bdf08 (diff)
downloadpfsense-c7a7a4eeaf39a0d174a3d724550ceeec80c0bffd.zip
pfsense-c7a7a4eeaf39a0d174a3d724550ceeec80c0bffd.tar.gz
Update usr/local/www/vpn_ipsec_phase1.php
Correct missing $
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase1.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 00a63fa..3940378 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -142,7 +142,7 @@ if ($_POST) {
$method = $pconfig['authentication_method'];
// Unset ca and cert if not required to avaoid storing in config
- if ($method == "pre_shared_key" || method == "xauth_psk_server"){
+ if ($method == "pre_shared_key" || $method == "xauth_psk_server"){
unset($pconfig['caref']);
unset($pconfig['certref']);
}
OpenPOWER on IntegriCloud