Skip to content

Commit 9858de2

Browse files
committed
tree data BUGFIX dup NP cont dflt flag
1 parent 8d79561 commit 9858de2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tree_data.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2311,6 +2311,9 @@ lyd_dup_r(const struct lyd_node *node, const struct ly_ctx *trg_ctx, struct lyd_
23112311
}
23122312
}
23132313
lyd_hash(dup);
2314+
2315+
/* NP cont dflt flag */
2316+
lyd_np_cont_dflt_set(dup);
23142317
} else if (dup->schema->nodetype & LYD_NODE_ANY) {
23152318
dup->hash = node->hash;
23162319
any = (struct lyd_node_any *)node;

0 commit comments

Comments
 (0)