mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Updated submodules and fixed IPv6 casting play address being wrong.
This commit is contained in:
parent
a410e2962a
commit
d040b93ca9
6 changed files with 7 additions and 6 deletions
|
@ -6,6 +6,7 @@ import java.io.ByteArrayOutputStream
|
|||
import java.io.IOException
|
||||
import java.io.InputStream
|
||||
import java.net.Inet4Address
|
||||
import java.net.Inet6Address
|
||||
import java.net.InetAddress
|
||||
import java.net.InetSocketAddress
|
||||
import java.net.Socket
|
||||
|
|
|
@ -33,10 +33,10 @@ fun Boolean?.toYesNo(): String {
|
|||
fun InetAddress?.toUrlAddress(): String {
|
||||
return when (this) {
|
||||
is Inet6Address -> {
|
||||
"[${toString()}]"
|
||||
"[${hostAddress}]"
|
||||
}
|
||||
is Inet4Address -> {
|
||||
toString()
|
||||
hostAddress
|
||||
}
|
||||
else -> {
|
||||
throw Exception("Invalid address type")
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 90bceac198bb8ea5946a054069b8ac8c7b178dcb
|
||||
Subproject commit a72aeb85d0fc0c17382cb1a7066fe4ec8b63691c
|
|
@ -1 +1 @@
|
|||
Subproject commit f5afc782a95a5175c2d55d294808c8bac9fc327f
|
||||
Subproject commit f3b6a99fc66af989f81b839256149ed295b3a8c2
|
|
@ -1 +1 @@
|
|||
Subproject commit 90bceac198bb8ea5946a054069b8ac8c7b178dcb
|
||||
Subproject commit a72aeb85d0fc0c17382cb1a7066fe4ec8b63691c
|
|
@ -1 +1 @@
|
|||
Subproject commit f5afc782a95a5175c2d55d294808c8bac9fc327f
|
||||
Subproject commit f3b6a99fc66af989f81b839256149ed295b3a8c2
|
Loading…
Add table
Reference in a new issue