Bump rule-set version

This commit is contained in:
世界
2024-10-07 04:58:51 +08:00
parent a18179ad24
commit bd122478fc
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,