mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
Fix for GeodataMode
This commit is contained in:
parent
088fdb2ddd
commit
c49cede02b
|
@ -42,7 +42,7 @@ func (gf *geoipFilter) Match(ip netip.Addr) bool {
|
|||
return false
|
||||
}
|
||||
}
|
||||
return !geoIPMatcher.Match(ip)
|
||||
return !geoIPMatcher.Match(ip) && !nnip.IsPrivateIP(ip)
|
||||
}
|
||||
|
||||
type ipnetFilter struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user