fix: geoip may not works

This commit is contained in:
purofle 2024-03-07 01:15:43 +08:00
parent b46dbc8c46
commit 9858ce46cb
No known key found for this signature in database
GPG Key ID: 57DEC1478152D973

View File

@ -114,7 +114,7 @@ fun SingBoxOptions.Rule_DefaultOptions.makeSingBoxRule(list: List<String>, isIP:
if (isIP) {
if (it.startsWith("geoip:")) {
rule_set.plusAssign(it)
rule_set_ipcidr_match_source = true
rule_set_ipcidr_match_source = false
} else {
ip_cidr.plusAssign(it)
}