diff options
author | Ermal Luçi <ermal.luci@gmail.com> | 2012-11-16 10:27:04 +0100 |
---|---|---|
committer | Ermal Luçi <ermal.luci@gmail.com> | 2012-11-16 10:27:04 +0100 |
commit | c7a7a4eeaf39a0d174a3d724550ceeec80c0bffd (patch) | |
tree | f73783e79af63794d98da33e4256d5f7ede95c32 | |
parent | 31fcd0bd7ba37fe64e3c6a803043399d0f8bdf08 (diff) | |
download | pfsense-c7a7a4eeaf39a0d174a3d724550ceeec80c0bffd.zip pfsense-c7a7a4eeaf39a0d174a3d724550ceeec80c0bffd.tar.gz |
Update usr/local/www/vpn_ipsec_phase1.php
Correct missing $
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 2 |
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']); } |