Display the service node's IP address after its country.

This commit is contained in:
Ian Macdonald 2021-09-18 22:17:26 +02:00
parent 5a290ddf68
commit 7b3035104d
No known key found for this signature in database
GPG Key ID: AE4C20556BA626FA

View File

@ -99,7 +99,7 @@ class IP2Country private constructor(private val context: Context) {
val bestMatchCountry = comps.lastOrNull { it.key <= Ipv4Int(ip) }?.let { (_, code) ->
if (code != null) {
countryToNames[code]
countryToNames[code] + " [" + ip + "]"
} else {
null
}
@ -126,4 +126,4 @@ class IP2Country private constructor(private val context: Context) {
}
}
// endregion
}
}