commit | 9cdb7b5dd1a3a7b29fe19b1ff0ebd6f360b36097 | [log] [tgz] |
---|---|---|
author | roman <xjanot04@fit.vutbr.cz> | Wed Oct 25 13:59:55 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Nov 03 15:03:11 2023 +0100 |
tree | cf1ac0dd5aada9373b5ce64b4116469ee7b280f4 | |
parent | c135c6d44911e0d3154c6378de29a3c565ff1faa [diff] |
server_config BUGFIX use correct node for ctn id
diff --git a/src/server_config.c b/src/server_config.c index 6e6e276..dfed796 100644 --- a/src/server_config.c +++ b/src/server_config.c
@@ -3414,7 +3414,7 @@ /* find the list's key */ lyd_find_path(node, "id", 0, &n); assert(n); - id = ((struct lyd_node_term *)node)->value.uint32; + id = ((struct lyd_node_term *)n)->value.uint32; /* find the ctn's name */ lyd_find_path(node, "name", 0, &n);