mirror of
https://github.com/CherretGit/zaprett-app.git
synced 2026-01-31 15:59:43 +05:00
fix byedpi blacklist (again)
This commit is contained in:
@@ -229,9 +229,12 @@ class ByeDpiVpnService : VpnService() {
|
||||
arg == "\$hostlist" && list.isEmpty() -> emptyList()
|
||||
else -> listOf(arg)
|
||||
}
|
||||
}
|
||||
else {
|
||||
listOf("-H", list, "-An", arg).filter { it != "\$hostlist" }
|
||||
} else {
|
||||
if (list.isNotEmpty()) {
|
||||
listOf("-H", list, "-An", arg).filter { it != "\$hostlist" }
|
||||
} else {
|
||||
listOf("-An", arg).filter { it != "\$hostlist" }
|
||||
}
|
||||
}
|
||||
}
|
||||
.toMutableList()
|
||||
|
||||
Reference in New Issue
Block a user