summaryrefslogtreecommitdiff
path: root/lib/northbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/northbound.c')
-rw-r--r--lib/northbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound.c b/lib/northbound.c
index 6988fd9a9c..1ce815ea1e 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -336,7 +336,7 @@ int nb_config_merge(struct nb_config *config_dst, struct nb_config *config_src,
{
int ret;
- ret = lyd_merge_tree(&config_dst->dnode, config_src->dnode, 0);
+ ret = lyd_merge_siblings(&config_dst->dnode, config_src->dnode, 0);
if (ret != 0)
flog_warn(EC_LIB_LIBYANG, "%s: lyd_merge() failed", __func__);