#2029 - Forward packets to aprsi-is, even if we can't decode them.

pull/2052/head
srcejon 2024-03-20 11:05:50 +00:00
rodzic be554146bd
commit ff2c3e9ff7
1 zmienionych plików z 8 dodań i 11 usunięć

Wyświetl plik

@ -104,8 +104,6 @@ bool APRSWorker::handleMessage(const Message& cmd)
AX25Packet ax25;
APRSPacket *aprs = new APRSPacket();
if (ax25.decode(report.getPacket()))
{
if (aprs->decode(ax25))
{
// See: http://www.aprs-is.net/IGateDetails.aspx for gating rules
if (!aprs->m_via.contains("TCPIP")
@ -118,7 +116,6 @@ bool APRSWorker::handleMessage(const Message& cmd)
send(igateMsg.toUtf8(), igateMsg.length());
}
}
}
return true;
}
else