mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-13 05:07:23 +08:00
fix android (#531)
This commit is contained in:
@@ -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