Project

General

Profile

Actions

Bug #4966

closed

Can't add IPsec P2

Added by Chris Buechler over 9 years ago. Updated about 9 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
Actions #1

Updated by Anonymous over 9 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.

Actions #2

Updated by Anonymous over 9 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Anonymous
Actions #3

Updated by Chris Buechler over 9 years ago

  • Status changed from Resolved to Feedback
Actions #4

Updated by Anonymous over 9 years ago

  • Assignee changed from Anonymous to Chris Buechler
Actions #5

Updated by Chris Buechler about 9 years ago

  • Status changed from Feedback to Resolved

works

Actions

Also available in: Atom PDF