mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2026-08-14 07:23:29 -04:00
Only check the address on incoming Icom data.
This commit is contained in:
@@ -102,8 +102,8 @@ unsigned int CIcomNetwork::read(unsigned char* data)
|
||||
if (length <= 0)
|
||||
return 0U;
|
||||
|
||||
if (!CUDPSocket::match(m_addr, addr)) {
|
||||
LogWarning("Icom Data received from an unknown address or port");
|
||||
if (!CUDPSocket::match(m_addr, addr, IMT_ADDRESS_ONLY)) {
|
||||
LogWarning("Icom Data received from an unknown address");
|
||||
return 0U;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user