commit | dfcae7d99cbefab7bb6cf465238dc27f2d1a1a27 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Tue Oct 20 17:13:01 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Tue Oct 20 17:13:01 2015 +0200 |
tree | ecd30e7142fc1ff63060c5f747752c8afa6376f2 | |
parent | a5835e9bb0a9a958f6e6a2c871acc5b16158f16d [diff] |
schema BUGFIX going through schema tree was skipping rpc and notifications
diff --git a/src/tree_schema.c b/src/tree_schema.c index 4f375c1..51e2cd3 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -125,10 +125,14 @@ switch (next->nodetype) { case LYS_USES: case LYS_CASE: + case LYS_INPUT: + case LYS_OUTPUT: /* go into */ next = next->child; goto repeat; + case LYS_RPC: + case LYS_NOTIF: case LYS_CONTAINER: case LYS_LEAF: case LYS_ANYXML: