mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 22:50:05 +08:00
fix: geoip may not works
This commit is contained in:
parent
b46dbc8c46
commit
9858ce46cb
@ -114,7 +114,7 @@ fun SingBoxOptions.Rule_DefaultOptions.makeSingBoxRule(list: List<String>, isIP:
|
|||||||
if (isIP) {
|
if (isIP) {
|
||||||
if (it.startsWith("geoip:")) {
|
if (it.startsWith("geoip:")) {
|
||||||
rule_set.plusAssign(it)
|
rule_set.plusAssign(it)
|
||||||
rule_set_ipcidr_match_source = true
|
rule_set_ipcidr_match_source = false
|
||||||
} else {
|
} else {
|
||||||
ip_cidr.plusAssign(it)
|
ip_cidr.plusAssign(it)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user