VCM reject log message

This commit is contained in:
emanuel 2022-11-21 17:17:48 +00:00
parent 299013b59e
commit d70ccf0c71
1 changed files with 1 additions and 0 deletions

View File

@ -828,6 +828,7 @@ int vcm_check(VCM_t* vcm) {
switch (mvc->negotiation->present) { switch (mvc->negotiation->present) {
case CoordinationNegotiation_PR_request: case CoordinationNegotiation_PR_request:
if (coordination->session.req && now < coordination->session.ts + MC_RESOLUTION_TIMEOUT) { /* in maneuver */ if (coordination->session.req && now < coordination->session.ts + MC_RESOLUTION_TIMEOUT) { /* in maneuver */
log_debug("[coordination] rejecting VCM from %d - currently in maneuver", vcm->header.stationID);
vcm_reject(vcm, neighbour); vcm_reject(vcm, neighbour);
} else { } else {
vcm_check_handle_request(vcm, neighbour); vcm_check_handle_request(vcm, neighbour);