summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-08-20 17:18:27 +0000
committerErmal <eri@pfsense.org>2014-08-20 17:18:27 +0000
commitf950a06222e64e46f400a708590dcaf725698f32 (patch)
treec7e9032bd6e204e1c93501babc46b27bfc800cff
parent847fe304129c637753dc8cb01b86e0e1cdf2dbf6 (diff)
downloadpfsense-f950a06222e64e46f400a708590dcaf725698f32.zip
pfsense-f950a06222e64e46f400a708590dcaf725698f32.tar.gz
Add missing s to solve the issue reported on https://forum.pfsense.org/index.php?topic=80722.new#new
-rw-r--r--usr/local/www/vpn_ipsec_phase2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php
index 370416e..461a708 100644
--- a/usr/local/www/vpn_ipsec_phase2.php
+++ b/usr/local/www/vpn_ipsec_phase2.php
@@ -255,7 +255,7 @@ if ($_POST) {
if (!count($ealgos)) {
$input_errors[] = gettext("At least one encryption algorithm must be selected.");
} else {
- if (empty($pconfig['halgo'])) {
+ if (empty($pconfig['halgos'])) {
foreach ($ealgos as $ealgo) {
if (!strpos($ealgo['name'], "gcm")) {
$input_errors[] = gettext("At least one hashing algorithm needs to be selected.");
OpenPOWER on IntegriCloud