Repository navigation
Conversation
getInet4AddressByName threw UnknownHostException for hosts with only an AAAA record, which disabled the Event Server. Replace it with getInetAddressByName, which prefers IPv4 and falls back to IPv6.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk | ⚪ Minimal · up to
|
|
The Event Server lookup accepted only IPv4 addresses. If a host name had only an AAAA record, the lookup threw
UnknownHostExceptionand Kore turned the Event Server off.Kore now prefers an IPv4 address and falls back to IPv6, so IPv6-only host names work with the Event Server.
Tested:
Related to #1042. This does not add support for IPv6 link-local addresses with a scope, which is what that issue asks for.
Summary by CodeRabbit