forked from External/ergo
trim . from reverse address lookup
This commit is contained in:
parent
1dfd4d518d
commit
28bd5a40ba
1 changed files with 1 additions and 1 deletions
|
|
@ -77,5 +77,5 @@ func LookupHostname(addr net.Addr) string {
|
|||
if err != nil {
|
||||
return ipaddr
|
||||
}
|
||||
return names[0]
|
||||
return names[0][0 : len(names[0])-1]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue