Bug #4404
closedFatal error when enabling IPSec
0%
Description
I have 3 boxes with pfSense 2.2 installed, and on one of them I get a fatal error when enable the checkmark "Enable IPsec" and pres save. The error says:
Fatal error: Call to undefined function gen_subnetv4() in /etc/inc/vpn.inc on line 605
The 2 other boxes there is no problem with same config, I have tried installing and reinstalling a test box - and from one install to another the error can be there or not, so mabee the installer forgets something ?
Updated by Chris Buechler over 10 years ago
- Status changed from New to Feedback
you're missing, or have a broken, /etc/inc/util.inc file. The installer can't forget files (and if anything as critical as util.inc were missing, essentially nothing would work).
check what /etc/inc/util.inc looks like. gen_subnetv4 is in there if you have the stock file. Did you replace it or any other code with something else?
Updated by Lars Juul over 10 years ago
Do you have a link to a stock util.inc, so I can compare ?
The file i patched, I need to have several subnets in DHCPD https://github.com/pfsense/pfsense/pull/1406
Updated by Chris Buechler over 10 years ago
- Status changed from Feedback to Rejected
not a bug.
source is available here:
https://github.com/pfsense/pfsense