Remove check on ip address

develop
Geoffrey Merck 2 years ago
parent debec321b9
commit a9f461d30e

@ -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) 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,8 +108,6 @@ public:
m_gateway = gateway; m_gateway = gateway;
m_timestamp = timestamp; m_timestamp = timestamp;
m_remotePort = remotePort; m_remotePort = remotePort;
if(m_address.empty() && !address.empty())
m_address = address; m_address = address;
} }
//wxLogMessage("After : %s"), toString()); //wxLogMessage("After : %s"), toString());

Loading…
Cancel
Save

Powered by TurnKey Linux.