mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 10:08:41 +00:00
Merge pull request #8708 from LabNConsulting/chopps/fix-lyd-merge-use
lib: fix northbound merge code (libyang)
This commit is contained in:
commit
46ea9d49c6
@ -336,7 +336,7 @@ int nb_config_merge(struct nb_config *config_dst, struct nb_config *config_src,
|
|||||||
{
|
{
|
||||||
int ret;
|
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)
|
if (ret != 0)
|
||||||
flog_warn(EC_LIB_LIBYANG, "%s: lyd_merge() failed", __func__);
|
flog_warn(EC_LIB_LIBYANG, "%s: lyd_merge() failed", __func__);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user