1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-27 09:55:22 +00:00

Fix IP rule with custom GeoIP file

b0edbec53e
This commit is contained in:
Kslr 2019-06-03 15:09:04 +08:00
parent 94ac104ffd
commit 09075e62fd

View File

@ -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)
}