Remove errant log message
This commit is contained in:
parent
0af2aaf85f
commit
d6f6359799
2
misc.go
2
misc.go
|
@ -2,7 +2,6 @@ package torrent
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"log"
|
||||
"net"
|
||||
|
||||
"github.com/anacrolix/missinggo"
|
||||
|
@ -128,7 +127,6 @@ func addrCompactIP(addr net.Addr) (string, error) {
|
|||
|
||||
func connIsIpv6(nc net.Conn) bool {
|
||||
ra := nc.RemoteAddr()
|
||||
log.Printf("network: %q, string: %q", ra.Network(), ra.String())
|
||||
rip := missinggo.AddrIP(ra)
|
||||
return rip.To4() == nil && rip.To16() != nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue