* Fixed: [statement: require-instance should be true if not present according to rfc7950 Sec 9.9.3](https://github.com/clicon/clixon/issues/302)

This commit is contained in:
Olof hagsand 2022-02-17 10:09:23 +01:00
parent 12695c5d87
commit 1324c914dc
5 changed files with 22 additions and 13 deletions

View file

@ -134,7 +134,7 @@ validate_leafref(cxobj *xt,
char *path_arg;
yang_stmt *ymod;
cg_var *cv;
int require_instance = 0;
int require_instance = 1;
/* require instance */
if ((yreqi = yang_find(ytype, Y_REQUIRE_INSTANCE, NULL)) != NULL){