Don't emit FATSV output for non-ICAO addresses.
This commit is contained in:
parent
6e1315e3a6
commit
35551b4455
4
net_io.c
4
net_io.c
|
@ -1310,6 +1310,10 @@ static void writeFATSV() {
|
||||||
int emittedSecondsAgo;
|
int emittedSecondsAgo;
|
||||||
char *p, *end;
|
char *p, *end;
|
||||||
|
|
||||||
|
// skip non-ICAO
|
||||||
|
if (a->bFlags & MODES_ACFLAGS_NON_ICAO)
|
||||||
|
continue;
|
||||||
|
|
||||||
// don't emit if it hasn't updated since last time
|
// don't emit if it hasn't updated since last time
|
||||||
if (a->seen < a->fatsv_last_emitted) {
|
if (a->seen < a->fatsv_last_emitted) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue