Skip to content

Commit

Permalink
home: imp whois more
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Apr 1, 2021
1 parent 3b8ef86 commit e3cc4a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/home/clientshttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ func clientToJSON(c *Client) clientJSON {
BlockedServices: c.BlockedServices,

Upstreams: c.Upstreams,

WhoisInfo: &RuntimeClientWhoisInfo{},
}

return cj
}

Expand Down Expand Up @@ -278,6 +281,7 @@ func (clients *clientsContainer) findTemporary(ip net.IP, idStr string) (cj clie
IDs: []string{idStr},
Disallowed: disallowed,
DisallowedRule: rule,
WhoisInfo: &RuntimeClientWhoisInfo{},
}

return cj, true
Expand Down

0 comments on commit e3cc4a6

Please sign in to comment.