chore: Skip initial "lan" rules that load geoip

This commit is contained in:
gVisor bot 2022-08-17 00:33:03 +08:00
parent 35eaa7eb06
commit 9b37165666

View File

@ -71,7 +71,7 @@ func (g *GEOIP) GetRecodeSize() int {
}
func NewGEOIP(country string, adapter string, noResolveIP bool) (*GEOIP, error) {
if !C.GeodataMode {
if !C.GeodataMode || strings.EqualFold(country, "LAN") {
geoip := &GEOIP{
Base: &Base{},
country: country,