1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

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

This commit is contained in:
srcejon 2024-03-20 11:05:50 +00:00
parent be554146bd
commit ff2c3e9ff7

View File

@ -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