3
0
Fork 0

Mark VPN as unmetered (#53)

This commit is contained in:
John Maguire 2022-01-11 12:09:51 -05:00 committed by GitHub
parent 87ce46df19
commit 145a6c9b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);