Commit 745de56c authored by aligungr's avatar aligungr

RLS improvements

parent d406b7ba
...@@ -89,7 +89,7 @@ void RlsUdpTask::receiveRlsPdu(const InetAddress &addr, std::unique_ptr<rls::Rls ...@@ -89,7 +89,7 @@ void RlsUdpTask::receiveRlsPdu(const InetAddress &addr, std::unique_ptr<rls::Rls
m_cells[msg->sti].address = addr; m_cells[msg->sti].address = addr;
m_cells[msg->sti].lastSeen = utils::CurrentTimeMillis(); m_cells[msg->sti].lastSeen = utils::CurrentTimeMillis();
int newDbm = ((const rls::RlsHeartBeatAck &)msg).dbm; int newDbm = ((const rls::RlsHeartBeatAck &)*msg).dbm;
m_cells[msg->sti].dbm = newDbm; m_cells[msg->sti].dbm = newDbm;
if (oldDbm != newDbm) if (oldDbm != newDbm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment