Project

General

Profile

Bug #4966

Can't add IPsec P2

Added by Chris Buechler almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Target version:
-
Start date:
08/17/2015
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

upon adding a P2 entry, you end up with validation error "At least one encryption algorithm must be selected" (even though there were some selected before the save), and the reloaded page has no chosen encryption alg nor hash. Also spits out:

Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_ipsec_phase2.php on line 646 Call Stack: 0.0002 245312 1. {main}() /usr/local/www/vpn_ipsec_phase2.php:0 0.0532 2080104 2. in_array() /usr/local/www/vpn_ipsec_phase2.php:646 Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_ipsec_phase2.php on line 646 Call Stack: 0.0002 245312 1. {main}() /usr/local/www/vpn_ipsec_phase2.php:0 0.0534 2082536 2. in_array() /usr/local/www/vpn_ipsec_phase2.php:646 Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_ipsec_phase2.php on line 646 Call Stack: 0.0002 245312 1. {main}() /usr/local/www/vpn_ipsec_phase2.php:0 0.0535 2084752 2. in_array() /usr/local/www/vpn_ipsec_phase2.php:646 Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_ipsec_phase2.php on line 646 Call Stack: 0.0002 245312 1. {main}() /usr/local/www/vpn_ipsec_phase2.php:0 0.0536 2086968 2. in_array() /usr/local/www/vpn_ipsec_phase2.php:646 Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_ipsec_phase2.php on line 646 Call Stack: 0.0002 245312 1. {main}() /usr/local/www/vpn_ipsec_phase2.php:0 0.0537 2089184 2. in_array() /usr/local/www/vpn_ipsec_phase2.php:646 Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/vpn_ipsec_phase2.php on line 646 Call Stack: 0.0002 245312 1. {main}() /usr/local/www/vpn_ipsec_phase2.php:0 0.0538 2091400 2. in_array() /usr/local/www/vpn_ipsec_phase2.php:646

History

#1 Updated by Steve Beaver almost 4 years ago

Algoritmh and hash were being saves as a list rather than an array.
vpn_ipec_phase2.php and vpn_ipsec.php have been corrected to fix.

#2 Updated by Steve Beaver almost 4 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Steve Beaver

#3 Updated by Chris Buechler almost 4 years ago

  • Status changed from Resolved to Feedback

#4 Updated by Steve Beaver almost 4 years ago

  • Assignee changed from Steve Beaver to Chris Buechler

#5 Updated by Chris Buechler almost 4 years ago

  • Status changed from Feedback to Resolved

works

Also available in: Atom PDF