fastforwarding is not compatible with ipsec tunnels -- turn it off if the user has ipsec tunnels.

This commit is contained in:
Scott Ullrich 2005-01-11 00:49:13 +00:00
parent f55cccc4a4
commit 4cbcdf9115

View File

@ -94,6 +94,9 @@ function vpn_ipsec_configure($ipchg = false) {
if (isset($ipseccfg['enable'])) {
/* fastforwarding is not compatible with ipsec tunnels */
sysctl("sysctl net.inet.ip.fastforwarding=0");
if (!$curwanip) {
/* IP address not configured yet, exit */
if ($g['booting'])