Fix connection.utp

This commit is contained in:
Matt Joiner 2018-07-15 12:55:49 +10:00
parent d4d3e24c6f
commit 5fb5010762
1 changed files with 1 additions and 1 deletions

View File

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