mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
chore: Skip initial "lan" rules that load geoip
This commit is contained in:
parent
835cab58cf
commit
4b39362039
|
@ -71,7 +71,7 @@ func (g *GEOIP) GetRecodeSize() int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewGEOIP(country string, adapter string, noResolveIP bool) (*GEOIP, error) {
|
func NewGEOIP(country string, adapter string, noResolveIP bool) (*GEOIP, error) {
|
||||||
if !C.GeodataMode {
|
if !C.GeodataMode || strings.EqualFold(country, "LAN") {
|
||||||
geoip := &GEOIP{
|
geoip := &GEOIP{
|
||||||
Base: &Base{},
|
Base: &Base{},
|
||||||
country: country,
|
country: country,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user