Startup transactions did not mark added tree with XML_FLAG_ADD as it should
This commit is contained in:
parent
9085432aa7
commit
7e109d1d4b
2 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue