Added YANG deviate flag to not follow orig links
Fixed unbounded loop in deviation
This commit is contained in:
parent
05263e942a
commit
442e0391cc
5 changed files with 66 additions and 5 deletions
|
|
@ -924,7 +924,7 @@ yang_lib2yspec(clixon_handle h,
|
|||
if ((modmin = yang_len_get(yspec) - (1+veclen - modmin)) < 0)
|
||||
goto fail;
|
||||
if (yang_parse_post(h, yspec, modmin) < 0)
|
||||
goto done;
|
||||
goto fail;
|
||||
retval = 1;
|
||||
done:
|
||||
if (vec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue