diff --git a/connection.go b/connection.go index 9bc13124..d1aa9fcb 100644 --- a/connection.go +++ b/connection.go @@ -242,7 +242,7 @@ func (cn *connection) connectionFlags() (ret string) { } func (cn *connection) utp() bool { - return strings.Contains(cn.remoteAddr().Network(), "utp") + return isUtpNetwork(cn.remoteAddr().Network()) } // Inspired by https://github.com/transmission/transmission/wiki/Peer-Status-Text.