summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-09-12 19:40:33 +0200
committerErmal <eri@pfsense.org>2014-09-12 19:40:33 +0200
commit3b9ef0ef3986b492cd8d4288b31ecfb58ea54afa (patch)
treef8a6cb0a84309670b467f878f1288704894f0ed0 /etc/inc/vpn.inc
parent16c0272244e10b3b0c847eb6efc4bf611b4e4667 (diff)
downloadpfsense-3b9ef0ef3986b492cd8d4288b31ecfb58ea54afa.zip
pfsense-3b9ef0ef3986b492cd8d4288b31ecfb58ea54afa.tar.gz
Inverse the sense of the toggles to avoid configuration upgrades
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index cd07f34..dd70c6a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -616,13 +616,13 @@ EOD;
$left_spec = $ep;
if (isset($ph1ent['reauth_enable']))
- $reauth = "reauth = yes";
- else
$reauth = "reauth = no";
- if (isset($ph1ent['rekey_enable']))
- $rekey = "rekey = yes";
else
+ $reauth = "reauth = yes";
+ if (isset($ph1ent['rekey_enable']))
$rekey = "rekey = no";
+ else
+ $rekey = "rekey = yes";
$ipseclifetime = 0;
$rightsubnet_spec = array();
OpenPOWER on IntegriCloud