commit | 44b19a1d4b48cf41089f6e65eae28a67231d06dd | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 07 09:21:30 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 07 09:21:30 2020 +0200 |
tree | 80c74fdd0fb6c7ad835eef2c8ac77296491261b7 | |
parent | a6669ba6e8e0d5b5f64f02586b4c3e3fa4f7658c [diff] [blame] |
data tree FEATURE no_config new_implicit flag
diff --git a/src/tree_data.c b/src/tree_data.c index df4ca43..69852d0 100644 --- a/src/tree_data.c +++ b/src/tree_data.c
@@ -1345,6 +1345,8 @@ while ((iter = lys_getnext(iter, sparent, mod ? mod->compiled : NULL, LYS_GETNEXT_WITHCHOICE))) { if ((impl_opts & LYD_IMPLICIT_NO_STATE) && (iter->flags & LYS_CONFIG_R)) { continue; + } else if ((impl_opts & LYD_IMPLICIT_NO_CONFIG) && (iter->flags & LYS_CONFIG_W)) { + continue; } switch (iter->nodetype) {