mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-24 07:15:38 +08:00
Update to support changes since IPv6 was added.
This commit is contained in:
@@ -2444,10 +2444,9 @@ void CDMRGateway::processHomePosition()
|
||||
void CDMRGateway::processDynamicTGControl()
|
||||
{
|
||||
unsigned char buffer[100U];
|
||||
in_addr address;
|
||||
unsigned int port;
|
||||
|
||||
int len = m_socket->read(buffer, 100U, address, port);
|
||||
sockaddr_storage address;
|
||||
unsigned int addrlen;
|
||||
int len = m_socket->read(buffer, 100U, address, addrlen);
|
||||
if (len <= 0)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user