diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-11-09 08:11:46 -0600 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-11-09 08:11:46 -0600 |
commit | 3166d0c83e1026e7e49afe481a103f1673d6baf0 (patch) | |
tree | a93366ffd9f7b80844e046b7571a1ae3995c421c /src/usr/local | |
parent | 98a134417ecce0a875555320003a6b44c6826cb6 (diff) | |
download | pfsense-3166d0c83e1026e7e49afe481a103f1673d6baf0.zip pfsense-3166d0c83e1026e7e49afe481a103f1673d6baf0.tar.gz |
Fix the warning when no HASH algorithm is selected (together with AES-GCM).
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/vpn_ipsec_phase2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php index d1b1e81..2f0add8 100644 --- a/src/usr/local/www/vpn_ipsec_phase2.php +++ b/src/usr/local/www/vpn_ipsec_phase2.php @@ -674,7 +674,7 @@ foreach ($p2_halgos as $algo => $algoname) { 'halgos[]', null, $algoname, - (in_array($algo, $pconfig['halgos'])), + (empty($pconfig['halgos']) ? '' : in_array($algo, $pconfig['halgos'])), $algo ))->addClass('multi'); } |