mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-10 12:46:14 -08:00
fix android (#531)
This commit is contained in:
1 parent
f3de00be37
commit
2f4a097787
17 files changed
+147
-159
No files matched your search
@@ -89,7 +89,7 @@ class TauriVpnService : VpnService() {
|
||||
|
||||
for (route in routes) {
|
||||
val ipParts = route.split("/")
|
||||
if (ipParts.size != 2) throw IllegalArgumentException("Invalid IP addr string")
|
||||
if (ipParts.size != 2) throw IllegalArgumentException("Invalid route cidr string")
|
||||
builder.addRoute(ipParts[0], ipParts[1].toInt())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user