1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-04 06:23:04 +00:00

Use local DNS server, even if not routing LAN

This commit is contained in:
M66B 2017-03-20 07:28:24 +01:00
parent 6208710316
commit 8fa6a39e09

View file

@ -1014,7 +1014,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
// Remove local DNS servers when not routing LAN
boolean lan = prefs.getBoolean("lan", false);
if (lan) {
if (false && lan) {
List<InetAddress> listLocal = new ArrayList<>();
try {
Enumeration<NetworkInterface> nis = NetworkInterface.getNetworkInterfaces();