Don't emit SBS output with non-ICAO addresses (fixes #9)
This commit is contained in:
parent
899c51ce85
commit
20407e5378
4
net_io.c
4
net_io.c
|
@ -356,6 +356,10 @@ void modesSendSBSOutput(struct modesMessage *mm) {
|
|||
if (!p)
|
||||
return;
|
||||
|
||||
// For now, suppress non-ICAO addresses
|
||||
if (mm->addr & MODES_NON_ICAO_ADDRESS)
|
||||
return;
|
||||
|
||||
//
|
||||
// SBS BS style output checked against the following reference
|
||||
// http://www.homepages.mcb.net/bones/SBS/Article/Barebones42_Socket_Data.htm - seems comprehensive
|
||||
|
|
Loading…
Reference in a new issue