Fix up address type categorization to match the spec.
This commit is contained in:
parent
7c1fed98d2
commit
729d91c1ab
3 changed files with 36 additions and 32 deletions
16
net_io.c
16
net_io.c
|
|
@ -993,18 +993,18 @@ static const char *addrtype_short_string(addrtype_t type) {
|
|||
return "adsb_icao";
|
||||
case ADDR_ADSB_ICAO_NT:
|
||||
return "adsb_icao_nt";
|
||||
case ADDR_ADSB_OTHER:
|
||||
return "adsb_other";
|
||||
case ADDR_TISB_ICAO:
|
||||
return "tisb_icao";
|
||||
case ADDR_TISB_OTHER:
|
||||
return "tisb_other";
|
||||
case ADDR_TISB_ANON:
|
||||
return "tisb_anon";
|
||||
case ADDR_ADSR_ICAO:
|
||||
return "adsr_icao";
|
||||
case ADDR_TISB_ICAO:
|
||||
return "tisb_icao";
|
||||
case ADDR_ADSB_OTHER:
|
||||
return "adsb_other";
|
||||
case ADDR_ADSR_OTHER:
|
||||
return "adsr_other";
|
||||
case ADDR_TISB_OTHER:
|
||||
return "tisb_other";
|
||||
case ADDR_TISB_TRACKFILE:
|
||||
return "tisb_trackfile";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue