Merge branch 'fixiptables' of https://github.com/Unpublished/orbot into Unpublished-fixiptables

This commit is contained in:
Nathan Freitas 2017-01-13 22:13:10 -05:00
commit 970710d03c
1 changed files with 10 additions and 17 deletions

View File

@ -102,12 +102,6 @@ public class TorTransProxy implements TorServiceConstants {
} }
private String findSystemIPTables () private String findSystemIPTables ()
{
if (mSysIptables != null)
{
return mSysIptables;
}
else
{ {
//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
@ -123,7 +117,6 @@ public class TorTransProxy implements TorServiceConstants {
if (fileIpt.exists()) if (fileIpt.exists())
mSysIptables = fileIpt.getAbsolutePath(); mSysIptables = fileIpt.getAbsolutePath();
} }
}
return mSysIptables; return mSysIptables;
} }