Browse Source

fix #780; include complete build info in the server state

Julius Pfrommer 8 years ago
parent
commit
6a6ebf3455
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/server/ua_server.c

+ 1 - 0
src/server/ua_server.c

@@ -231,6 +231,7 @@ readStatus(void *handle, const UA_NodeId nodeid, UA_Boolean sourceTimeStamp,
     status->currentTime = UA_DateTime_now();
     status->state = UA_SERVERSTATE_RUNNING;
     status->secondsTillShutdown = 0;
+    UA_BuildInfo_copy(&server->config.buildInfo, &status->buildInfo);
 
     value->value.type = &UA_TYPES[UA_TYPES_SERVERSTATUSDATATYPE];
     value->value.arrayLength = 0;