mirror of https://github.com/f4exb/sdrangel.git
Fix previous commit.
This commit is contained in:
parent
6db4dfa36a
commit
de4bc18337
|
@ -104,6 +104,11 @@ bool APRSWorker::handleMessage(const Message& cmd)
|
|||
AX25Packet ax25;
|
||||
APRSPacket *aprs = new APRSPacket();
|
||||
if (ax25.decode(report.getPacket()))
|
||||
{
|
||||
// #2029 - Forward data even if we can't decode it fully
|
||||
aprs->decode(ax25);
|
||||
|
||||
if (!aprs->m_data.isEmpty())
|
||||
{
|
||||
// See: http://www.aprs-is.net/IGateDetails.aspx for gating rules
|
||||
if (!aprs->m_via.contains("TCPIP")
|
||||
|
@ -116,6 +121,7 @@ bool APRSWorker::handleMessage(const Message& cmd)
|
|||
send(igateMsg.toUtf8(), igateMsg.length());
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue