mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-21 23:15:14 -05:00
Only check the address on incoming Icom data.
This commit is contained in:
parent
843f12e2ca
commit
de3d1086c3
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2015,2016,2017,2018,2020 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2015,2016,2017,2018,2020,2023 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -19,6 +19,6 @@
|
||||
#if !defined(VERSION_H)
|
||||
#define VERSION_H
|
||||
|
||||
const char* VERSION = "20230212";
|
||||
const char* VERSION = "20231112";
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user