* Bumped version to 5.7.0_PRE

* Fixed: SEGV in cli show yang
This commit is contained in:
Olof hagsand 2022-03-14 12:13:45 +01:00
parent 60e6477be2
commit 9a88cb5f0d
7 changed files with 45 additions and 10 deletions

View file

@ -1854,9 +1854,6 @@ yang_print_cbuf(cbuf *cb,
else
cprintf(cb, " %s", ys->ys_argument);
}
if (ys->ys_cv){
cprintf(cb, " %s", cv_string_get(ys->ys_cv));
}
if (ys->ys_len){
cprintf(cb, " {\n");
yang_print_cbuf(cb, ys, marginal+3);

View file

@ -86,6 +86,7 @@ struct yang_stmt{
mandatory: boolean true or false
require-instance: true or false
fraction-digits for fraction-digits
revision (uint32)
unknown-stmt (optional argument)
*/
cvec *ys_cvec; /* List of stmt-specific variables