mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-08 16:03:48 +00:00
Update to support changes since IPv6 was added.
This commit is contained in:
parent
0e029e30d2
commit
94289e062d
4 changed files with 28 additions and 34 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue