mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-05 21:47:31 +00:00
chore: cleanup IPSet code
This commit is contained in:
@@ -41,7 +41,7 @@ func (gf *geoipFilter) Match(ip netip.Addr) bool {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return !geoIPMatcher.Match(ip.AsSlice())
|
||||
return !geoIPMatcher.Match(ip)
|
||||
}
|
||||
|
||||
type ipnetFilter struct {
|
||||
|
||||
Reference in New Issue
Block a user