summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-04-22 09:21:01 +0000
committerErmal Luçi <eri@pfsense.org>2009-04-22 09:21:26 +0000
commit04b46591f61a41171aa3bbd01c426ef4bcd5c3f5 (patch)
tree8e883745c1a1e047beb99338fbeb49f1170b84b8 /etc
parent924876a80f9ac94a0e7b59b381312d0ffd186755 (diff)
downloadpfsense-04b46591f61a41171aa3bbd01c426ef4bcd5c3f5.zip
pfsense-04b46591f61a41171aa3bbd01c426ef4bcd5c3f5.tar.gz
* Do not apply the settings directly from hitting the SAVE button show the apply settings option for consistency with other pages.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 2b5a071..3a05094 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -137,9 +137,7 @@ function vpn_ipsec_configure($ipchg = false)
mwexec("/usr/local/sbin/setkey -F");
return true;
- }
-
- if (isset ($ipseccfg['enable'])) {
+ } else {
if ($g['booting'])
echo "Configuring IPsec VPN... ";
OpenPOWER on IntegriCloud