Fix connection.utp
This commit is contained in:
parent
d4d3e24c6f
commit
5fb5010762
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue