From 9858ce46cbd4c7039d093ea8c4780169c526d9dc Mon Sep 17 00:00:00 2001 From: purofle Date: Thu, 7 Mar 2024 01:15:43 +0800 Subject: [PATCH] fix: geoip may not works --- app/src/main/java/moe/matsuri/nb4a/SingBoxOptionsUtil.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/moe/matsuri/nb4a/SingBoxOptionsUtil.kt b/app/src/main/java/moe/matsuri/nb4a/SingBoxOptionsUtil.kt index de6de7e9..7bfd41e8 100644 --- a/app/src/main/java/moe/matsuri/nb4a/SingBoxOptionsUtil.kt +++ b/app/src/main/java/moe/matsuri/nb4a/SingBoxOptionsUtil.kt @@ -114,7 +114,7 @@ fun SingBoxOptions.Rule_DefaultOptions.makeSingBoxRule(list: List, 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) }