commit | abf81a061d1db5628f3148ff487f8e19850d316a | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 03 11:30:41 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 03 11:30:41 2021 +0100 |
tree | 922fcc5d890495a37a552f6693f1f63aa511fbc7 | |
parent | 7d3708fa0d598b311d3f7b58caad7dc3d72d71b5 [diff] |
yang printer BUGFIX list with must
diff --git a/src/printer_yang.c b/src/printer_yang.c index 5d58e71..68c4b48 100644 --- a/src/printer_yang.c +++ b/src/printer_yang.c
@@ -1602,7 +1602,7 @@ yprp_node_common1(ctx, node, &flag); LY_ARRAY_FOR(list->musts, u) { - yprp_restr(ctx, &list->musts[u], "must", NULL); + yprp_restr(ctx, &list->musts[u], "must", &flag); } if (list->key) { ypr_open(ctx->out, &flag);