Skip to content

Commit

Permalink
fix(server): Use "SubtypeOf" instead of "HasSuperType" as inverse Ref…
Browse files Browse the repository at this point in the history
…erenceType name
  • Loading branch information
jpfr committed Sep 9, 2023
1 parent b8ac9e7 commit 30589b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/ua_server_ns0.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ UA_Server_createNS0_base(UA_Server *server) {
hassubtype_attr.displayName = UA_LOCALIZEDTEXT("", "HasSubtype");
hassubtype_attr.isAbstract = false;
hassubtype_attr.symmetric = false;
hassubtype_attr.inverseName = UA_LOCALIZEDTEXT("", "HasSupertype");
hassubtype_attr.inverseName = UA_LOCALIZEDTEXT("", "SubtypeOf");
ret |= addNode_raw(server, UA_NODECLASS_REFERENCETYPE, UA_NS0ID_HASSUBTYPE, "HasSubtype",
&hassubtype_attr, &UA_TYPES[UA_TYPES_REFERENCETYPEATTRIBUTES]);

Expand Down

0 comments on commit 30589b2

Please sign in to comment.