mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-21 00:06:08 +02:00
Ensure hostname is unrooted
This commit is contained in:
@ -74,7 +74,7 @@ func (a *API) newResponse(r *http.Request) (Response, error) {
|
||||
if err != nil {
|
||||
log.Print(err)
|
||||
}
|
||||
hostnames, err := a.oracle.LookupAddr(ip.String())
|
||||
hostnames, err := a.oracle.LookupAddr(ip)
|
||||
if err != nil {
|
||||
log.Print(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user