test of cligen expand bug #332

This commit is contained in:
Olof hagsand 2022-05-30 15:27:19 +02:00
parent 5740d37737
commit 8e6ba7fa53
4 changed files with 141 additions and 2 deletions

View file

@ -309,7 +309,6 @@ expand_dbvar(void *h,
clicon_err(OE_DB, 0, "Leafref %s requires path statement", yang_argument_get(ytype));
goto done;
}
/* */
/* Extend xpath with leafref path: Append yang_argument_get(ypath) to xpath
*/
if (xpath_append(cbxpath, yang_argument_get(ypath), y, nsc) < 0)