mirror of https://github.com/M66B/NetGuard.git
Fixed IPv6 VPN address
This commit is contained in:
parent
e7635888c2
commit
e006d18feb
|
@ -995,7 +995,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
|
||||||
String vpn6 = prefs.getString("vpn6", "fd00:1:fd00:1:fd00:1:fd00:1");
|
String vpn6 = prefs.getString("vpn6", "fd00:1:fd00:1:fd00:1:fd00:1");
|
||||||
Log.i(TAG, "vpn4=" + vpn4 + " vpn6=" + vpn6);
|
Log.i(TAG, "vpn4=" + vpn4 + " vpn6=" + vpn6);
|
||||||
builder.addAddress(vpn4, 32);
|
builder.addAddress(vpn4, 32);
|
||||||
builder.addAddress(vpn6, 64);
|
builder.addAddress(vpn6, 128);
|
||||||
|
|
||||||
if (filter)
|
if (filter)
|
||||||
for (InetAddress dns : getDns(SinkholeService.this)) {
|
for (InetAddress dns : getDns(SinkholeService.this)) {
|
||||||
|
|
Loading…
Reference in New Issue