Actions
Bug #4966
closedCan't add IPsec P2
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
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.
Updated by Anonymous over 9 years ago
- Status changed from Confirmed to Resolved
- Assignee set to Anonymous
Updated by Chris Buechler over 9 years ago
- Status changed from Resolved to Feedback
Updated by Anonymous over 9 years ago
- Assignee changed from Anonymous to Chris Buechler
Actions