summaryrefslogtreecommitdiffstats
path: root/usr/local/pkg/sasyncd.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-21 22:31:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-21 22:31:17 +0000
commitc0b9da84e3387727d461410e2569623dc7942d62 (patch)
tree7d30b082db10bd24184a34fd99f1f8126960fcc1 /usr/local/pkg/sasyncd.xml
parent3a23042bb66fe267aee91784f31ef938940dc835 (diff)
downloadpfsense-c0b9da84e3387727d461410e2569623dc7942d62.zip
pfsense-c0b9da84e3387727d461410e2569623dc7942d62.tar.gz
Automatically enable prefer older sa's if using failover ipsec
Diffstat (limited to 'usr/local/pkg/sasyncd.xml')
-rw-r--r--usr/local/pkg/sasyncd.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/pkg/sasyncd.xml b/usr/local/pkg/sasyncd.xml
index 3cb09d7..fa96760 100644
--- a/usr/local/pkg/sasyncd.xml
+++ b/usr/local/pkg/sasyncd.xml
@@ -58,7 +58,7 @@
<field>
<fielddescr>Interface</fielddescr>
<fieldname>interface</fieldname>
- <description>Select the carp interface to use</description>
+ <description>Select the carp interface to use.</description>
<interface_filter>carp</interface_filter>
<type>interfaces_selection</type>
<all_interfaces>true</all_interfaces>
@@ -82,8 +82,14 @@
<type>input</type>
</field>
</fields>
+ <custom_add_php_command>
+ /* automatically turn on prefer old sa's until sasyncd is finished being ported */
+ if($_POST['ip'] != "")
+ $config['ipsec']['preferoldsa'] = true;
+ </custom_add_php_command>
<custom_add_php_command_late>
/* resync vpn settings */
+ mwexec("/usr/bin/killall racoon");
vpn_ipsec_configure();
</custom_add_php_command_late>
</packagegui>
OpenPOWER on IntegriCloud