Fixed missing Inet4.toAddress conversion
This commit is contained in:
parent
62deb13d5a
commit
402c5a0ccd
|
@ -134,7 +134,7 @@ open class Client<CONNECTION : Connection>(config: Configuration = Configuration
|
||||||
reliable = reliable)
|
reliable = reliable)
|
||||||
|
|
||||||
// if there is no preference, then try to connect via IPv4
|
// if there is no preference, then try to connect via IPv4
|
||||||
else -> connect(remoteAddress = IPv4.toAddress(remoteAddress),
|
else -> connect(remoteAddress = Inet4.toAddress(remoteAddress),
|
||||||
connectionTimeoutMS = connectionTimeoutMS,
|
connectionTimeoutMS = connectionTimeoutMS,
|
||||||
reliable = reliable)
|
reliable = reliable)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user