Fixed: [Clixon backend transaction callback fails for empty types](https://github.com/clicon/clixon/issues/360)

Fixed: [Clixon backend transactions for choice/case is not logical](https://github.com/clicon/clixon/issues/361)
This commit is contained in:
Olof hagsand 2022-09-06 16:23:30 +02:00
parent ddf01503c6
commit 15fcae3c23
4 changed files with 154 additions and 47 deletions

View file

@ -258,6 +258,7 @@ xml_cmp(cxobj *x1,
/* XXX handle errors */
yi1 = yang_order(y1);
yi2 = yang_order(y2);
/* this is for choice */
if ((equal = yi1-yi2) != 0)
goto done;
}