From 2f8e575308d531c87390a0a806b85c9bb5678f58 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sun, 23 Jan 2022 18:31:49 +0800 Subject: [PATCH] [Fixed] modified RULE-SET supported rule --- rule/provider/parse.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/rule/provider/parse.go b/rule/provider/parse.go index 070dd8e05..f0c094c6e 100644 --- a/rule/provider/parse.go +++ b/rule/provider/parse.go @@ -71,9 +71,6 @@ func parseRule(tp, payload, target string, params []string) (C.Rule, error) { parsed = RC.NewDomainKeyword(payload, target, ruleExtra) case "GEOSITE": parsed, parseErr = RC.NewGEOSITE(payload, target, ruleExtra) - case "GEOIP": - noResolve := RC.HasNoResolve(params) - parsed, parseErr = RC.NewGEOIP(payload, target, noResolve, ruleExtra) case "IP-CIDR", "IP-CIDR6": noResolve := RC.HasNoResolve(params) parsed, parseErr = RC.NewIPCIDR(payload, target, ruleExtra, RC.WithIPCIDRNoResolve(noResolve))