- Restconf bind: continue with other sockets if bind fails, print address on log
- Multi-yang: Look in CLICON_YANG_MAIN_DIR, not only CLICON_MAIN_DIRs for old yangs - Backend -q quit option enhanced for multi-yang case
This commit is contained in:
parent
c43e216d67
commit
1af3a7bcfe
1 changed files with 3 additions and 3 deletions
|
|
@ -563,6 +563,7 @@ xmldb_readfile(clicon_handle h,
|
|||
}
|
||||
/* If we found an obsolete yang module, we need to make a clone yspec with the
|
||||
* exactly the yang modules found
|
||||
* Same ymodules are inserted into yspec1, ie pointers only
|
||||
*/
|
||||
if (needclone && xmodfile){
|
||||
if ((yspec1 = yspec_new()) == NULL)
|
||||
|
|
@ -602,9 +603,8 @@ xmldb_readfile(clicon_handle h,
|
|||
}
|
||||
retval = 1;
|
||||
done:
|
||||
if (yspec1){
|
||||
ys_free1(yspec1, 1); // XXX free childvec
|
||||
}
|
||||
if (yspec1)
|
||||
ys_free1(yspec1, 1);
|
||||
if (xmodfile)
|
||||
xml_free(xmodfile);
|
||||
if (msdiff)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue