Skip to content

Commit d01619b

Browse files
committed
common UPDATE libyang updates
1 parent 2809ede commit d01619b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ endif()
4444
set(NP2SRV_VERSION 2.7.3)
4545

4646
# libyang required version
47-
set(LIBYANG_DEP_VERSION 4.7.0)
48-
set(LIBYANG_DEP_SOVERSION 4.5.0)
47+
set(LIBYANG_DEP_VERSION 4.8.0)
48+
set(LIBYANG_DEP_SOVERSION 4.6.0)
4949
set(LIBYANG_DEP_SOVERSION_MAJOR 4)
5050

5151
# libnetconf2 required version

src/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ np_reply_success(const struct lyd_node *rpc, struct lyd_node *output)
13301330
if (!strcmp(rpc->schema->module->name, "ietf-netconf")) {
13311331
/* augment */
13321332
lyd_find_path(rpc, "ietf-netconf-with-defaults:with-defaults", 0, &node);
1333-
} else if (!lys_find_child(rpc->schema, rpc->schema->module, "with-defaults", 0, LYS_LEAF, 0)) {
1333+
} else if (!lys_find_child(NULL, rpc->schema, rpc->schema->module, NULL, 0, "with-defaults", 0, 0)) {
13341334
/* no with-defaults mode */
13351335
node = NULL;
13361336
} else {

0 commit comments

Comments
 (0)