* Bumped version to 5.7.0_PRE
* Fixed: SEGV in cli show yang
This commit is contained in:
parent
60e6477be2
commit
9a88cb5f0d
7 changed files with 45 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue