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);