diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-21 22:31:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-21 22:31:17 +0000 |
commit | c0b9da84e3387727d461410e2569623dc7942d62 (patch) | |
tree | 7d30b082db10bd24184a34fd99f1f8126960fcc1 /usr/local/pkg | |
parent | 3a23042bb66fe267aee91784f31ef938940dc835 (diff) | |
download | pfsense-c0b9da84e3387727d461410e2569623dc7942d62.zip pfsense-c0b9da84e3387727d461410e2569623dc7942d62.tar.gz |
Automatically enable prefer older sa's if using failover ipsec
Diffstat (limited to 'usr/local/pkg')
-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> |