On Thu, 29 Oct 2020 13:18:07 +0200 "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote: > @@ -298,8 +298,11 @@ static int clock_context_init(struct tracecmd_time_sync *tsync, bool server) > clock = calloc(1, sizeof(struct clock_sync_context)); > if (!clock) > return -1; > - > - clock->is_server = server; > + clock->is_guest = guest; > + if (clock->is_guest) > + clock->is_server = true; > + else > + clock->is_server = false; Wait? You want them to equal? Then you should have: clock->is_server = guest; If you want them opposite: clock->is_server = !guest; -- Steve > if (get_vsocket_params(tsync->msg_handle->fd, &clock->local_cid, > &clock->local_port, &clock->remote_cid, > &clock->remote_port))