client.go | 2 +- diff --git a/client.go b/client.go index eec8ad6338bcc18c92d8a0dbfc05b80485b5c118..7ea276d8aecfd31c574280c0dd9f2f1b7632c3d7 100644 --- a/client.go +++ b/client.go @@ -394,7 +394,7 @@ // I think something harsher should happen here? Our accept // routine just fucked off. return } - log.Fmsg("accepted connection from %s", conn.RemoteAddr()).AddValue(debugLogValue).Log(cl.logger) + log.Fmsg("accepted %s connection from %s", conn.RemoteAddr().Network(), conn.RemoteAddr()).AddValue(debugLogValue).Log(cl.logger) go torrent.Add(fmt.Sprintf("accepted conn remote IP len=%d", len(missinggo.AddrIP(conn.RemoteAddr()))), 1) go torrent.Add(fmt.Sprintf("accepted conn network=%s", conn.RemoteAddr().Network()), 1) go torrent.Add(fmt.Sprintf("accepted on %s listener", l.Addr().Network()), 1)