mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 08:47:09 +00:00
chore: align internal logic
This commit is contained in:
@@ -128,6 +128,10 @@ func (g dnsFallbackFilter) MatchIp(ip netip.Addr) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if g.country == "lan" {
|
||||
return !g.isLan(ip)
|
||||
}
|
||||
|
||||
if geodata.GeodataMode() {
|
||||
matcher, err := g.getIPMatcher()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user