C-API: Exposed diff function

Test: double leaf validate test
This commit is contained in:
Olof Hagsand 2023-02-13 20:21:44 +01:00
parent d358387d39
commit fcf9a8b0b0
8 changed files with 115 additions and 89 deletions

View file

@ -162,6 +162,7 @@ xml_yang_mount_get(cxobj *xt,
goto ok;
if (xml2xpath(xt, NULL, 1, &xpath) < 0)
goto done;
/* Special value in yang unknown node for mount-points: mapping from xpath->mounted yspec */
if ((cvv = yang_cvec_get(yu)) == NULL)
goto ok;
if ((cv = cvec_find(cvv, xpath)) == NULL)