1
0
Fork 0
forked from External/ergo

get rid of user abstraction, services

This commit is contained in:
Jeremy Latt 2014-02-04 19:28:24 -08:00
parent f133f3691d
commit f04dd7c5d5
11 changed files with 145 additions and 983 deletions

View file

@ -8,7 +8,7 @@ import (
)
const (
DEBUG_NET = true
DEBUG_NET = false
)
func readTrimmedLine(reader *bufio.Reader) (string, error) {
@ -64,7 +64,7 @@ func LookupHostname(addr net.Addr) string {
if err != nil {
return addrStr
}
names, err := net.LookupAddr(ipaddr)
names, err := net.LookupHost(ipaddr)
if err != nil {
return ipaddr
}