Added YANG deviate flag to not follow orig links

Fixed unbounded loop in deviation
This commit is contained in:
Olof hagsand 2024-08-15 18:43:45 +02:00
parent 05263e942a
commit 442e0391cc
5 changed files with 66 additions and 5 deletions

View file

@ -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)