Skip to content

Commit 66969b7

Browse files
committed
validation BUGFIX validate all input/notif child nodes
1 parent 8bf4faf commit 66969b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/validation.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,8 +2509,8 @@ _lyd_validate_op(struct lyd_node *op_tree, struct lyd_node *op_node, const struc
25092509
LY_CHECK_GOTO(rc = lyd_validate_must(op_node, 0, int_opts, LYXP_IGNORE_WHEN, NULL), cleanup);
25102510

25112511
/* final validation of all the descendants */
2512-
rc = lyd_validate_final_r(lyd_child(op_node), op_node, op_node->schema, NULL, NULL, 0,
2513-
int_opts | LYD_INTOPT_SKIP_SIBLINGS, LYXP_IGNORE_WHEN, getnext_ht);
2512+
rc = lyd_validate_final_r(lyd_child(op_node), op_node, op_node->schema, NULL, NULL, 0, int_opts, LYXP_IGNORE_WHEN,
2513+
getnext_ht);
25142514
LY_CHECK_GOTO(rc, cleanup);
25152515

25162516
cleanup:

0 commit comments

Comments
 (0)