mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Only show IPv4.
This commit is contained in:
parent
9f42bff864
commit
b32080be01
1 changed files with 4 additions and 0 deletions
|
@ -381,6 +381,10 @@ class MainActivity : AppCompatActivity() {
|
|||
continue
|
||||
}
|
||||
|
||||
if (addr.address.size != 4) {
|
||||
continue
|
||||
}
|
||||
|
||||
Log.i(TcpListenerService.TAG, "Running on ${addr.hostAddress}:${TcpListenerService.PORT}")
|
||||
addr.hostAddress?.let { ips.add(it) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue