summaryrefslogtreecommitdiffstats
path: root/usr/local/pkg/sasyncd.xml
diff options
context:
space:
mode:
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