added new pref for using built-in iptables binary

This commit is contained in:
Nathan Freitas 2012-01-12 20:57:38 -05:00
parent 7efd63742d
commit 4bbca2927d
2 changed files with 12 additions and 0 deletions

View File

@ -248,4 +248,8 @@
<string name="hidden_service_on">hidden service on:</string> <string name="hidden_service_on">hidden service on:</string>
<string name="unable_to_read_hidden_service_name">unable to read hidden service name</string> <string name="unable_to_read_hidden_service_name">unable to read hidden service name</string>
<string name="unable_to_start_tor">Unable to start Tor:</string> <string name="unable_to_start_tor">Unable to start Tor:</string>
<string name="pref_use_sys_iptables_title">Use Default Iptables</string>
<string name="pref_use_sys_iptables_summary">use the built-in iptables binary instead of the one bundled with Orbot</string>
</resources> </resources>

View File

@ -176,6 +176,14 @@ android:summary="@string/enable_debug_log_to_output_must_use_adb_or_alogcat_to_v
android:enabled="true"></CheckBoxPreference> android:enabled="true"></CheckBoxPreference>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_use_sys_iptables"
android:summary="@string/pref_use_sys_iptables_summary"
android:enabled="true"
android:title="@string/pref_use_sys_iptables_title"/>
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_transparent_port_fallback" android:key="pref_transparent_port_fallback"