mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 06:30:05 +08:00
fix geoip:private
This commit is contained in:
parent
f274b134af
commit
151c110912
@ -108,7 +108,11 @@ fun SingBoxOptions.Rule_DefaultOptions.makeSingBoxRule(list: List<String>, isIP:
|
||||
list.forEach {
|
||||
if (isIP) {
|
||||
if (it.startsWith("geoip:")) {
|
||||
rule_set.plusAssign(it)
|
||||
if (it == "geoip:private") {
|
||||
ip_is_private = true
|
||||
} else {
|
||||
rule_set.plusAssign(it)
|
||||
}
|
||||
} else {
|
||||
ip_cidr.plusAssign(it)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user