mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-16 13:01:45 -05:00
Remove address and port checks from the Icom protocol.
This commit is contained in:
parent
14ef0fb080
commit
2c5e2d56a8
@ -95,12 +95,6 @@ void CIcomNetwork::clock(unsigned int ms)
|
|||||||
if (::memcmp(buffer, "ICOM", 4U) != 0)
|
if (::memcmp(buffer, "ICOM", 4U) != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Check if the data is for us
|
|
||||||
if (m_address.s_addr != address.s_addr || port != m_port) {
|
|
||||||
LogMessage("Icom packet received from an invalid source, %08X != %08X and/or %u != %u", m_address.s_addr, address.s_addr, m_port, port);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// An Icom repeater connect request
|
// An Icom repeater connect request
|
||||||
if (buffer[4U] == 0x01U && buffer[5U] == 0x61U) {
|
if (buffer[4U] == 0x01U && buffer[5U] == 0x61U) {
|
||||||
buffer[5U] = 0x62U;
|
buffer[5U] = 0x62U;
|
||||||
|
Loading…
Reference in New Issue
Block a user