Bump rule-set version

This commit is contained in:
世界
2024-10-13 13:07:02 +08:00
parent 2f776168de
commit 9b8d6c1b73
9 changed files with 145 additions and 29 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ func geoipExport(countryCode string) error {
headlessRule.IPCIDR = append(headlessRule.IPCIDR, cidr.String())
}
var plainRuleSet option.PlainRuleSetCompat
plainRuleSet.Version = C.RuleSetVersion1
plainRuleSet.Version = C.RuleSetVersion2
plainRuleSet.Options.Rules = []option.HeadlessRule{
{
Type: C.RuleTypeDefault,