diff --git a/src/config.c b/src/config.c index c761f8c..9e4e3ab 100644 --- a/src/config.c +++ b/src/config.c @@ -259,11 +259,11 @@ int facilities_config(void* facilities_s) { pthread_mutex_init(&facilities->epv.lock, NULL); ManagementRequest_t* mreq = calloc(1, sizeof(ManagementRequest_t)); - mreq->present = ManagementRequest_PR_attributes; - mreq->choice.attributes.coordinates = 1; - mreq->choice.attributes.altitude = 1; - mreq->choice.attributes.heading = 1; - mreq->choice.attributes.speed = 1; + mreq->present = ManagementRequest_PR_get; + mreq->choice.get.coordinates = 1; + mreq->choice.get.altitude = 1; + mreq->choice.get.heading = 1; + mreq->choice.get.speed = 1; void* management_socket = zmq_socket(facilities->zmq.ctx, ZMQ_REQ); zmq_connect(management_socket, facilities->zmq.management_address); uint8_t buffer[256];