Skip to content

Commit

Permalink
client: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Apr 24, 2024
1 parent fa292ee commit 6f4d58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/client/index.go
Expand Up @@ -220,8 +220,8 @@ func (ci *Index) findByIP(ip netip.Addr) (c *Persistent, found bool) {
// strips the IPv6 zone index from the stored IP addresses before comparing,
// because querylog entries don't have it. See TODO on [querylog.logEntry.IP].
//
// Note that multiple clients can have same the IP address with different zones,
// so result of this method is indeterminate.
// Note that multiple clients can have the same IP address with different zones.
// Therefore, the result of this method is indeterminate.
func (ci *Index) FindByIPWithoutZone(ip netip.Addr) (c *Persistent) {
if (ip == netip.Addr{}) {
return nil
Expand Down

0 comments on commit 6f4d58f

Please sign in to comment.