summaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-12-15 23:06:18 +0100
committerArne Schwabe <arne@rfc2549.org>2012-12-15 23:06:18 +0100
commita84d2bd237b17dca5227637471595050afe2a76e (patch)
treeb1387e9fe399fb38b5d567cc8534c47ae61eb761 /res/xml
parent29efcfc3453432a32d74811d55bb063a53be82a7 (diff)
Let the user control the new connect-retry(-max) logic
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/vpn_obscure.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/xml/vpn_obscure.xml b/res/xml/vpn_obscure.xml
index c99e039c..ecdd4e29 100644
--- a/res/xml/vpn_obscure.xml
+++ b/res/xml/vpn_obscure.xml
@@ -24,6 +24,20 @@
android:summary="@string/persisttun_summary"
android:title="@string/persistent_tun_title" />
+ <PreferenceCategory android:title="@string/reconnection_settings" >
+ <ListPreference
+ android:entries="@array/crm_entries"
+ android:entryValues="@array/crm_values"
+ android:key="connectretrymax"
+ android:persistent="false"
+ android:title="@string/connection_retries" />
+
+ <EditTextPreference
+ android:dialogMessage="@string/connectretrymessage"
+ android:key="connectretry"
+ android:persistent="false"
+ android:title="@string/connectretrywait" />
+ </PreferenceCategory>
<PreferenceCategory android:title="@string/custom_config_title" >
<CheckBoxPreference
android:key="enableCustomOptions"