Remove errant log message

This commit is contained in:
Matt Joiner 2018-02-14 01:14:05 +11:00
parent 0af2aaf85f
commit d6f6359799
1 changed files with 0 additions and 2 deletions

View File

@ -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
}