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:
parent
6208710316
commit
8fa6a39e09
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue