* Fixed: Datastore read on startup got fixed default values.

* Fixed: Default values only worked on leafs, not typedefs.
This commit is contained in:
Olof hagsand 2020-03-13 14:49:37 +01:00
parent 7425a3b520
commit 28fad0303a
7 changed files with 157 additions and 16 deletions

View file

@ -754,8 +754,6 @@ xmldb_get0_clear(clicon_handle h,
{
int retval = -1;
if (clicon_datastore_cache(h) != DATASTORE_CACHE_ZEROCOPY)
goto ok;
if (x == NULL)
goto ok;
/* clear XML tree of defaults */