Skip to content

Commit

Permalink
Added new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
0xERR0R committed Jul 8, 2020
1 parent 2d4d26f commit d19dd7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resolver/client_names_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ func (r *ClientNamesResolver) Resolve(request *Request) (*Response, error) {
// returns names of client
func (r *ClientNamesResolver) getClientNames(request *Request) []string {
ip := request.ClientIP

if ip == nil {
return []string{}
}

c, found := r.cache.Get(ip.String())

if found {
Expand Down

0 comments on commit d19dd7d

Please sign in to comment.