diff --git a/candm.h b/candm.h index b4e41f1..401c015 100644 --- a/candm.h +++ b/candm.h @@ -239,6 +239,7 @@ typedef struct { Float distance; int32_t orphan; Float activate; + uint32_t reserved[2]; int32_t EOR; } REQ_Local; diff --git a/client.c b/client.c index a1e213f..d9f60de 100644 --- a/client.c +++ b/client.c @@ -772,6 +772,7 @@ process_cmd_local(CMD_Request *msg, char *line) msg->data.local.distance = UTI_FloatHostToNetwork(distance); msg->data.local.orphan = htonl(orphan); msg->data.local.activate = UTI_FloatHostToNetwork(activate); + memset(msg->data.local.reserved, 0, sizeof (msg->data.local.reserved)); return 1; }