Фикс формата IP адреса
This commit is contained in:
@@ -171,7 +171,7 @@ public class Executor0Handshake extends PacketExecutor<Packet0Handshake> {
|
|||||||
newDevicePacket.setDeviceId(deviceId);
|
newDevicePacket.setDeviceId(deviceId);
|
||||||
newDevicePacket.setDeviceName(deviceName);
|
newDevicePacket.setDeviceName(deviceName);
|
||||||
newDevicePacket.setDeviceOs(deviceOs);
|
newDevicePacket.setDeviceOs(deviceOs);
|
||||||
newDevicePacket.setIpAddress(client.getSocket().getRemoteSocketAddress().toString());
|
newDevicePacket.setIpAddress(client.getSocket().getRemoteSocketAddress().getAddress().getHostAddress());
|
||||||
clientManager.sendPacketToAuthorizedPK(publicKey, newDevicePacket);
|
clientManager.sendPacketToAuthorizedPK(publicKey, newDevicePacket);
|
||||||
/**
|
/**
|
||||||
* Сбрасываем клиенту все старые подтверждения устройств, чтобы исключить спам запросами
|
* Сбрасываем клиенту все старые подтверждения устройств, чтобы исключить спам запросами
|
||||||
|
|||||||
Reference in New Issue
Block a user