small chnage to only check for sys iptables once
This commit is contained in:
parent
970710d03c
commit
a5744d7958
|
@ -103,7 +103,8 @@ public class TorTransProxy implements TorServiceConstants {
|
||||||
|
|
||||||
private String findSystemIPTables ()
|
private String findSystemIPTables ()
|
||||||
{
|
{
|
||||||
|
if (mSysIptables == null)
|
||||||
|
{
|
||||||
//if the user wants us to use the built-in iptables, then we have to find it
|
//if the user wants us to use the built-in iptables, then we have to find it
|
||||||
File fileIpt = new File("/system/xbin/iptables");
|
File fileIpt = new File("/system/xbin/iptables");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue