From 583b591d4078bf7cc1d7215f1afb2d928ab82d85 Mon Sep 17 00:00:00 2001 From: emanuel Date: Thu, 19 Jan 2023 18:51:10 +0000 Subject: [PATCH] VCM commit prepare --- src/vcm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/vcm.c b/src/vcm.c index a18465f..3af0e47 100644 --- a/src/vcm.c +++ b/src/vcm.c @@ -861,6 +861,10 @@ static void intersection_check(VCM_t* vcm, mc_neighbour_s* neighbour) { } } +static int vcm_check_handle_commit(VCM_t* vcm, mc_neighbour_s* neighbour) { + return 0; +} + int vcm_check(VCM_t* vcm) { coordination_t* coordination = &facilities.coordination; @@ -910,6 +914,10 @@ int vcm_check(VCM_t* vcm) { vcm_check_handle_reply(vcm, neighbour); break; + case CoordinationNegotiation_PR_commit: + vcm_check_handle_commit(vcm, neighbour); + break; + default: break; }