| Index: src/org/adblockplus/android/ProxyService.java |
| =================================================================== |
| --- a/src/org/adblockplus/android/ProxyService.java |
| +++ b/src/org/adblockplus/android/ProxyService.java |
| @@ -583,7 +583,12 @@ |
| if (!RootTools.isAccessGiven()) |
| throw new FileNotFoundException("No root access"); |
| - File ipt = getFileStreamPath("iptables"); |
| + File ipt = new File("/system/bin/iptables"); |
|
Felix Dahlke
2015/01/09 18:51:59
It _seems_ like a good idea to always go for iptab
Wladimir Palant
2015/01/13 14:12:33
The concern was mostly that an unknown iptables ve
|
| + if (!ipt.exists()) |
| + { |
| + Log.i(TAG, "iptables not found on the system, using embedded binary"); |
| + ipt = getFileStreamPath("iptables"); |
| + } |
| if (!ipt.exists()) |
| { |