chore: align internal logic

This commit is contained in:
wwqgtxx
2025-12-24 18:26:55 +08:00
parent e6c0e3b19c
commit 9168bee6b7

View File

@@ -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 {