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
commit93213caa1c1456836dc0f9d2ade45eed1a3d4e4a (patch)
tree2e5dfc3557e2cd6d2093db9b30839e1fd93e87e6 /res/xml
parenteec4659b127c69a5005be439efad148e98648c69 (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"