Refactoring of schema mount-points
Add new top-level `Y_MOUNTS` and add top-level yangs and mountpoints in yspecs
This commit is contained in:
parent
99503ac7fb
commit
dfe5c1bac1
18 changed files with 188 additions and 154 deletions
|
|
@ -702,7 +702,7 @@ xmldb_readfile(clixon_handle h,
|
|||
* Same ymodules are inserted into yspec1, ie pointers only
|
||||
*/
|
||||
if (needclone && xmodfile){
|
||||
if ((yspec1 = yspec_new()) == NULL)
|
||||
if ((yspec1 = yspec_new(h, "tmp")) == NULL)
|
||||
goto done;
|
||||
xmsd = NULL;
|
||||
while ((xmsd = xml_child_each(xmodfile, xmsd, CX_ELMNT)) != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue