Mark VPN as unmetered (#53)
This commit is contained in:
parent
87ce46df19
commit
145a6c9b4f
|
@ -91,6 +91,7 @@ class NebulaVpnService : VpnService() {
|
||||||
.addRoute(ipNet.network, ipNet.maskSize.toInt())
|
.addRoute(ipNet.network, ipNet.maskSize.toInt())
|
||||||
.setMtu(site!!.mtu)
|
.setMtu(site!!.mtu)
|
||||||
.setSession(TAG)
|
.setSession(TAG)
|
||||||
|
.setMetered(false)
|
||||||
.allowFamily(OsConstants.AF_INET)
|
.allowFamily(OsConstants.AF_INET)
|
||||||
.allowFamily(OsConstants.AF_INET6);
|
.allowFamily(OsConstants.AF_INET6);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue