Преглед изворни кода

Be sure to setup namespace 1 when server is going live

Jojakim Stahl пре 5 година
родитељ
комит
fc0d2448c6
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/server/ua_server.c

+ 3 - 0
src/server/ua_server.c

@@ -409,6 +409,9 @@ verifyServerApplicationURI(const UA_Server *server) {
 
 UA_StatusCode
 UA_Server_run_startup(UA_Server *server) {
+    /* ensure that the uri for ns1 is set up from the app description */
+    setupNs1Uri(server);
+    
     if(server->state > UA_SERVERLIFECYCLE_FRESH)
         return UA_STATUSCODE_GOOD;