Lost PCM.replies

This commit is contained in:
emanuel 2022-04-08 17:31:20 +00:00
parent 47c0e6fc46
commit fba82a5ca3
1 changed files with 6 additions and 1 deletions

View File

@ -219,7 +219,12 @@ static int pcm_check_handle_reply(facilities_t* facilities, PCM_t* pcm, mc_neigh
uint64_t now_us = it2s_tender_get_now(TIME_MICROSECONDS); uint64_t now_us = it2s_tender_get_now(TIME_MICROSECONDS);
pthread_mutex_unlock(&facilities->epv.time.lock); pthread_mutex_unlock(&facilities->epv.time.lock);
if (neighbour->intersecting) {
syslog_info("[facilities] [pc] received PCM.reply is response to another ITS-S PCM.request");
} else {
syslog_info("[facilities] [pc] received PCM.reply with %d accepted trajectories | took %ld us", reply->acceptedTrajectoriesIds.list.count, now_us-neighbour->t_iid); syslog_info("[facilities] [pc] received PCM.reply with %d accepted trajectories | took %ld us", reply->acceptedTrajectoriesIds.list.count, now_us-neighbour->t_iid);
}
neighbour->intersecting = false; neighbour->intersecting = false;
neighbour->proposed = false; neighbour->proposed = false;