浏览代码

Fix show command

Serj Kalichev 4 月之前
父节点
当前提交
5a889b62c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/show.c

+ 1 - 1
src/show.c

@@ -390,7 +390,7 @@ bool_t show_xpath(sr_session_ctx_t *sess, const char *xpath,
 	nodes_list = data->tree;
 
 	while (nodes_list && (edepth > 0)) {
-		nodes_list = lyd_child(nodes_list);
+		nodes_list = lyd_child_no_keys(nodes_list);
 		edepth--;
 	}