chore: cleanup IPSet code

This commit is contained in:
wwqgtxx
2024-01-13 11:44:02 +08:00
parent d2d8c0115c
commit e860497c0c
3 changed files with 20 additions and 190 deletions

View File

@@ -48,7 +48,7 @@ func (g *GEOIP) Match(metadata *C.Metadata) (bool, string) {
}
return false, g.adapter
}
return g.geoIPMatcher.Match(ip.AsSlice()), g.adapter
return g.geoIPMatcher.Match(ip), g.adapter
}
func (g *GEOIP) Adapter() string {