Skip to content

Commit ac0356e

Browse files
committed
client session BUGFIX xpath filter selects subtrees, not nodes
1 parent 28ef6cd commit ac0356e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/session_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ nc_ctx_fill_yl(struct nc_session *session, ly_module_imp_clb user_clb, void *use
609609
const struct lys_module *mod;
610610

611611
/* get yang-library data from the server */
612-
rpc = nc_rpc_get("/ietf-yang-library:*//.", 0, NC_PARAMTYPE_CONST);
612+
rpc = nc_rpc_get("/ietf-yang-library:*", 0, NC_PARAMTYPE_CONST);
613613
if (!rpc) {
614614
goto cleanup;
615615
}

0 commit comments

Comments
 (0)