From 09075e62fd651b13ddc0f3b7ac1e257ad38fc638 Mon Sep 17 00:00:00 2001 From: Kslr Date: Mon, 3 Jun 2019 15:09:04 +0800 Subject: [PATCH] Fix IP rule with custom GeoIP file https://github.com/v2ray/v2ray-core/commit/b0edbec53e323796302325c3d7357d023f189657 --- infra/conf/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/conf/router.go b/infra/conf/router.go index 5a4e29494..9c697349c 100644 --- a/infra/conf/router.go +++ b/infra/conf/router.go @@ -323,7 +323,7 @@ func toCidrList(ips StringList) ([]*router.GeoIP, error) { filename := kv[0] country := kv[1] - geoip, err := loadGeoIP(strings.ToUpper(country)) + geoip, err := loadIP(filename, strings.ToUpper(country)) if err != nil { return nil, newError("failed to load IPs: ", country, " from ", filename).Base(err) }