Break out init of orig-ptr to yang_start() to be made after options
This commit is contained in:
parent
ba40f5a929
commit
43bfc82942
8 changed files with 24 additions and 3 deletions
|
|
@ -829,6 +829,7 @@ main(int argc,
|
|||
if (nacm_load_external(h) < 0)
|
||||
goto done;
|
||||
}
|
||||
yang_start(h);
|
||||
/* Create top-level data yangs */
|
||||
if ((yspec = yspec_new(h, YANG_DATA_TOP)) == NULL)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue