kopia lustrzana https://github.com/f4exb/sdrangel
#2029 - Forward packets to aprsi-is, even if we can't decode them.
rodzic
be554146bd
commit
ff2c3e9ff7
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue