From a9f461d30ef4b017c7f466c66b93229718518fd4 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Tue, 13 Feb 2024 20:34:28 +0100 Subject: [PATCH 1/2] Remove check on ip address --- IRCDDB/IRCDDBMultiClient.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/IRCDDB/IRCDDBMultiClient.h b/IRCDDB/IRCDDBMultiClient.h index 2b47a5f..448f72c 100644 --- a/IRCDDB/IRCDDBMultiClient.h +++ b/IRCDDB/IRCDDBMultiClient.h @@ -97,7 +97,7 @@ public: } /* - Updates the entry, but only if the timestamp is newer. if an address was already specified it is kept. + Updates the entry, but only if the timestamp is newer. */ void Update(const std::string& user, const std::string& repeater, const std::string& gateway, const std::string& address, const std::string& timestamp, const std::string& remotePort) { @@ -108,9 +108,7 @@ public: m_gateway = gateway; m_timestamp = timestamp; m_remotePort = remotePort; - - if(m_address.empty() && !address.empty()) - m_address = address; + m_address = address; } //wxLogMessage("After : %s"), toString()); } From 0097517bbd7ab13b8c4c5de3191c502d1eee2818 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 18 Feb 2024 07:46:49 +0100 Subject: [PATCH 2/2] Update reeadme #42 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8719780..ca70c52 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ The testing framwework used is Google Test. # 5. Version History ## 5.1. Version 1.0 - [**Improvement**] Improve CI to include all variants of build configurations ([#40](https://github.com/F4FXL/DStarGateway/issues/40)) +- [**Bugfix**] Fix #42 Cache not updated when answering ircddb gateway is only conected to one network ([#42](https://github.com/F4FXL/DStarGateway/issues/42)) - [**Bugfix**] Fix #37 Unable to transmit multiple files (DGWVoiceTransmit) ([#37](https://github.com/F4FXL/DStarGateway/issues/37)) - [**Bugfix**] Fix #36 Error1 Build fails in some environment ([#36](https://github.com/F4FXL/DStarGateway/issues/36)) - [**Bugfix**] Fix #38 g++ 13 build ([#38](https://github.com/F4FXL/DStarGateway/issues/38))