diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/pkg/sasyncd.xml | 8 |
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> |