summaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-09-13 01:42:20 +0200
committerArne Schwabe <arne@rfc2549.org>2012-09-13 01:42:20 +0200
commit964ca82b1cecd73fa9dceff54b99c45782d2c1e0 (patch)
tree9f6363ca961393c9463ef00dc051c6569d5d9e1b /res/xml
parent21096ac637e630fc6fc9721d50bbfa52cd74da84 (diff)
Add support for persist-tun option (closes issue #83)
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/vpn_obscure.xml32
1 files changed, 3 insertions, 29 deletions
diff --git a/res/xml/vpn_obscure.xml b/res/xml/vpn_obscure.xml
index 44f71c52..c99e039c 100644
--- a/res/xml/vpn_obscure.xml
+++ b/res/xml/vpn_obscure.xml
@@ -19,37 +19,11 @@
android:persistent="false"
android:summary="@string/float_summary"
android:title="@string/float_title" />
-
- <!--
- <CheckBoxPreference android:key="setmtu" android:title="Set custom MTU" />
- <EditTextPreference
- android:dependency="setmtu"
- android:defaultValue="1500"
- android:title="MTU" />
- -->
-
-
- <!--
- Shaping works only on outgoing packet, so it is rather uninteresting :(
<CheckBoxPreference
- android:persistent="false"
- android:key="useBWShaping"
- android:title="bandwidth shaping"
- android:summary="Limit Bandwidth of the VPN"/>
-
- <EditTextPreference
- android:key="shaperLimit"
- android:dependency="useBWShaping"
- android:title="Bandwidth in KByte/s" />
- -->
-
+ android:key="usePersistTun"
+ android:summary="@string/persisttun_summary"
+ android:title="@string/persistent_tun_title" />
- <!--
- <CheckBoxPreference
- android:defaultValue="true"
- android:key="enableReplayProtection"
- android:title="Replay Protection" />
- -->
<PreferenceCategory android:title="@string/custom_config_title" >
<CheckBoxPreference
android:key="enableCustomOptions"