commit | 135719f37788b32e625557ff414c881613762805 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 25 12:18:17 2022 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 25 12:18:17 2022 +0200 |
tree | f931c28f219989bdc2e15a5e85b37f6526d08b85 | |
parent | 8dc1e10983e84b45741965c039b08901ab9e29a9 [diff] [blame] |
plugins exts UPDATE ext callback for data node validation Fixes #1908
diff --git a/src/parser_lyb.c b/src/parser_lyb.c index db68205..fb7d3a1 100644 --- a/src/parser_lyb.c +++ b/src/parser_lyb.c
@@ -989,7 +989,12 @@ (*node)->meta = *meta; *meta = NULL; + /* insert into parent */ lyb_insert_node(lybctx, parent, *node, first_p, parsed); + + /* store for ext instance node validation, if needed */ + (void)lyd_validate_node_ext(*node, &lybctx->ext_node); + *node = NULL; }