diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-23 15:03:28 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-23 15:03:28 -0400 |
commit | a9a6de88156933df012752c501b0ee40d3ba0d0a (patch) | |
tree | 3fcecc93ce2398ecdcf10638ccd151e36c132a83 | |
parent | a03d18c0929a5eb159e76b8a0c8df7f1e4bbb055 (diff) | |
download | pfsense-a9a6de88156933df012752c501b0ee40d3ba0d0a.zip pfsense-a9a6de88156933df012752c501b0ee40d3ba0d0a.tar.gz |
Unbreak IPSEC!
-rw-r--r-- | etc/inc/vpn.inc | 3 | ||||
-rwxr-xr-x | etc/rc.bootup | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index b1620c4..51fd673 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -38,6 +38,7 @@ require_once ("functions.inc"); function vpn_ipsec_failover_configure() { global $config, $g; + require_once ("ipsec.inc"); $sasyncd_text = ""; @@ -91,6 +92,7 @@ function find_last_gif_device() { function vpn_ipsec_configure($ipchg = false) { global $config, $g, $sa, $sn, $p1_ealgos, $p2_ealgos; + require_once ("ipsec.inc"); mwexec("/sbin/ifconfig enc0 up"); @@ -871,6 +873,7 @@ EOD; function vpn_ipsec_force_reload() { global $config; global $g; + require_once ("ipsec.inc"); $ipseccfg = $config['ipsec']; diff --git a/etc/rc.bootup b/etc/rc.bootup index 75ddd36..cd5f28e 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -106,6 +106,7 @@ require_once("/etc/inc/config.inc"); echo "."; require_once("/etc/inc/functions.inc"); require_once("openvpn.inc"); +require_once("ipsec.inc"); /* get system memory amount */ $memory = get_memory(); $avail = $memory[0]; |