Fixed: [Type / Endianism problem in yang_parse_file #128](https://github.com/clicon/clixon/issues/128)

This commit is contained in:
Olof hagsand 2020-08-21 13:33:38 +02:00
parent 0e4df0e8fc
commit 6be4b18391
2 changed files with 2 additions and 1 deletions

View file

@ -35,6 +35,7 @@ Users may have to change how they access the system
### Corrected Bugs
* Fixed: [Type / Endianism problem in yang_parse_file #128](https://github.com/clicon/clixon/issues/128)
* Fixed: [(CLI) the description of a used grouping is shown instead of the encapsulating container #124](https://github.com/clicon/clixon/issues/124)
* Uses/group and augments only copies *schemanodes*. This means reference/description/.. etc are not copied, the original is kept. Also, as a side-effect of the bugfix, a final cardinality sanity check is now made after all yang modifications, not only at the time the file is loaded.

View file

@ -547,7 +547,7 @@ yang_parse_file(int fd,
{
char *buf = NULL;
int i;
int c;
char c;
int len;
yang_stmt *ymod = NULL;
int ret;