Adapt to cligen parse API
This commit is contained in:
parent
79d1d2e95a
commit
e1a8e0d40b
3 changed files with 9 additions and 9 deletions
|
|
@ -1404,7 +1404,7 @@ yang2cli_yspec(clicon_handle h,
|
|||
}
|
||||
|
||||
/* Parse the buffer using cligen parser. load cli syntax */
|
||||
if (cligen_parse_str(cli_cligen(h), cbuf_get(cb), "yang2cli", pt, NULL) < 0){
|
||||
if (clispec_parse_str(cli_cligen(h), cbuf_get(cb), "yang2cli", NULL, pt, NULL) < 0){
|
||||
fprintf(stderr, "%s\n", cbuf_get(cb));
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue