forked from External/ergo
fix reverse dns
This commit is contained in:
parent
4379cb8e1c
commit
a34443f155
3 changed files with 12 additions and 19 deletions
|
|
@ -33,7 +33,7 @@ func NewClient(server *Server, conn net.Conn) *Client {
|
|||
client := &Client{
|
||||
channels: make(ChannelSet),
|
||||
conn: conn,
|
||||
hostname: LookupHostname(conn.RemoteAddr()),
|
||||
hostname: AddrLookupHostname(conn.RemoteAddr()),
|
||||
replies: replies,
|
||||
server: server,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue