Allow Wi-Fi direct when tethering enabled

This commit is contained in:
M66B 2017-03-13 07:20:11 +01:00
parent 5fa6312c19
commit 3f7d6f1dff
1 changed files with 4 additions and 2 deletions

View File

@ -1131,9 +1131,11 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
listExclude.add(new IPUtil.CIDR("127.0.0.0", 8)); // localhost
if (tethering) {
// USB Tethering 192.168.42.x
// Wi-Fi Tethering 192.168.43.x
// USB tethering 192.168.42.x
// Wi-Fi tethering 192.168.43.x
listExclude.add(new IPUtil.CIDR("192.168.42.0", 23));
// Wi-Fi direct 192.168.49.x
listExclude.add(new IPUtil.CIDR("192.168.49.0", 24));
}
if (lan) {