Protected zone load debug
This commit is contained in:
parent
943a976cae
commit
e1a3c3e8ca
|
|
@ -211,6 +211,7 @@ int itss_config(void* facilities_s, char* config_file) {
|
||||||
facilities->lightship->pz[i] = zone;
|
facilities->lightship->pz[i] = zone;
|
||||||
++facilities->lightship->pz_len;
|
++facilities->lightship->pz_len;
|
||||||
++i;
|
++i;
|
||||||
|
syslog_debug("[facilities] [config] loaded protection zone @ (%ld, %ld)", zone->protectedZoneLatitude, zone->protectedZoneLongitude);
|
||||||
} else {
|
} else {
|
||||||
ASN_STRUCT_FREE(asn_DEF_ProtectedCommunicationZone, zone);
|
ASN_STRUCT_FREE(asn_DEF_ProtectedCommunicationZone, zone);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue