Protected zone load debug

This commit is contained in:
emanuel 2020-12-02 17:01:01 +00:00
parent 943a976cae
commit e1a3c3e8ca
2 changed files with 2 additions and 1 deletions

View File

@ -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);
} }