commit | 721b6f65ed98106ea3ce94fab7be9376cf64d200 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 08 08:52:53 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 08 08:53:07 2021 +0100 |
tree | 6ffe21f02d600985203bdba42647a18dc72cc671 | |
parent | d0fbc09885ea7be354ca819bb75af5203eb6b3e1 [diff] |
schema tree BUGFIX skip all schema-only nodes
diff --git a/src/tree_schema.c b/src/tree_schema.c index 472a1ab..7d056c9 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -545,7 +545,7 @@ char *s, *id; const char *slash; - if ((pathtype == LYSC_PATH_DATA) && (iter->nodetype & (LYS_CHOICE | LYS_CASE))) { + if ((pathtype == LYSC_PATH_DATA) && (iter->nodetype & (LYS_CHOICE | LYS_CASE | LYS_INPUT | LYS_OUTPUT))) { /* schema-only node */ continue; }