Project

General

Profile

Actions

Bug #4404

closed

Fatal error when enabling IPSec

Added by Lars Juul over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/10/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

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 ?

Actions #1

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?

Actions #2

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

Actions #3

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

Actions

Also available in: Atom PDF