Startup transactions did not mark added tree with XML_FLAG_ADD as it should

This commit is contained in:
Olof hagsand 2019-05-21 10:55:16 +02:00
parent 9085432aa7
commit 7e109d1d4b
2 changed files with 2 additions and 0 deletions

View file

@ -212,6 +212,7 @@ startup_common(clicon_handle h,
xt = NULL;
x = NULL;
while ((x = xml_child_each(td->td_target, x, CX_ELMNT)) != NULL){
xml_flag_set(x, XML_FLAG_ADD);
if (cxvec_append(x, &td->td_avec, &td->td_alen) < 0)
goto done;
}