diff --git a/src/pcm.c b/src/pcm.c index 718c0c8..a38fca4 100644 --- a/src/pcm.c +++ b/src/pcm.c @@ -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); pthread_mutex_unlock(&facilities->epv.time.lock); - syslog_info("[facilities] [pc] received PCM.reply with %d accepted trajectories | took %ld us", reply->acceptedTrajectoriesIds.list.count, now_us-neighbour->t_iid); + 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); + } + neighbour->intersecting = false; neighbour->proposed = false;