broadcast receive fix 4

This commit is contained in:
2024-06-22 17:54:02 +02:00
parent 417da8d94c
commit a7b58420c3

View File

@@ -57,7 +57,7 @@ public class LocalPeerDiscoveryClient {
try {
var got = PeerDiscoveryInfo.parseFrom(ByteBuffer.wrap(buf, 0, packet.getLength()));
remoteHostManager.notifyAddr(UUID.fromString(got.getUuid()), packet.getAddress().toString(), got.getPort());
remoteHostManager.notifyAddr(UUID.fromString(got.getUuid()), packet.getAddress().getHostAddress(), got.getPort());
} catch (InvalidProtocolBufferException e) {
continue;