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

Fixed reload on subnet change

This commit is contained in:
M66B 2019-05-15 14:05:33 +02:00
parent 90b3caf12e
commit fed3a2a503

View file

@ -2985,6 +2985,13 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
return this;
}
@Override
public Builder addRoute(InetAddress address, int prefixLength) {
listRoute.add(address.getHostAddress() + "/" + prefixLength);
super.addRoute(address, prefixLength);
return this;
}
@Override
public Builder addDnsServer(InetAddress address) {
listDns.add(address);