Fixed: [Yang identityref XML encoding is not general](https://github.com/clicon/clixon/issues/90)

* Revisiting this issue now seems to work, there are no regressions that fail when disabling IDENTITYREF_KLUDGE.
This commit is contained in:
Olof hagsand 2022-11-05 12:07:44 +01:00
parent 779fcf5458
commit b0f898cf66
5 changed files with 6 additions and 6 deletions

View file

@ -267,9 +267,7 @@ derived_from_one(char *baseidentity,
if (prefix == NULL)
ymod = ys_module(yleaf);
else{ /* from prefix to name */
#if 1 /* IDENTITYREF_KLUDGE */
ymod = yang_find_module_by_prefix_yspec(ys_spec(yleaf), prefix);
#endif
}
if (ymod == NULL)
goto nomatch;