Main repository for pfSense
Go to file
Phil Davis a607968ab4 Handle IPsec Advanced Settings save before IPsec is enabled
If the Advanced Settings are saved before any other IPsec is set up then $config['ipsec'] can be just the empty string. As a result you can get:
a) If you select some debug settings then those are not saved. The code to save those settings was only executed when $config['ipsec'] was already an array. Actually the code already did the necessary "if isset() then unset()" stuuf. So I just took the the "if is_array()" away from the code block.

b) Some potential unset() can go wrong with errors like:
Fatal error: Cannot unset string offsets in /usr/local/www/vpn_ipsec_settings.php on line 168
This is corrected by adding more "if (isset())" checks.

Fixes Redmine #4865
2015-07-22 19:36:09 +05:45
boot No need to deal with hw.usb.no_pf anymore, it's part of default loader.conf 2015-05-13 09:18:10 -03:00
cf/conf Its long overdue the ez-ipupdate.cache file 2014-04-26 09:59:37 +00:00
conf.default Fix #4794: 2015-07-17 09:55:49 -03:00
etc Merge pull request #1770 from phil-davis/patch-1 2015-07-21 19:25:20 -05:00
root Set proxy env vars on interactive shell and also on crontab to make all scripts be able to use it. Ticket #3789 2014-11-11 11:57:38 -02:00
sbin Code Style sbin tmp usr 2015-03-13 23:28:12 +05:45
tmp de-activate sync on upgrade where it's enabled now that the root passwd/group problem is fixed. Ticket #4523 2015-07-03 23:11:11 -05:00
usr Handle IPsec Advanced Settings save before IPsec is enabled 2015-07-22 19:36:09 +05:45
.editorconfig Add .inc files to editorconfig 2015-05-22 10:30:23 -03:00
.gitattributes include gettext locales in line encoding list 2014-01-13 22:05:10 -05:00
.gitignore Ignore vim swap files 2013-03-08 14:41:01 -03:00
license.txt Welcome 2015 2014-12-31 16:22:00 -02:00