#issue 6783: Missing inform after IP change

This commit is contained in:
Imen Bhiri 2015-10-01 17:36:05 +01:00
parent 05ce29166d
commit 3920b4bdc4
2 changed files with 4 additions and 3 deletions

View file

@ -362,7 +362,8 @@ char *load_child_value(mxml_node_t *tree, char *sub_name)
if (b) {
b = mxmlWalkNext(b, tree, MXML_DESCEND);
if (b && b->type == MXML_ELEMENT && strcmp(b->value.element.name, sub_name) == 0) {
mxmlFindElement(b, b, sub_name, NULL, NULL, MXML_DESCEND_FIRST);
if (b) {
b = mxmlWalkNext(b, tree, MXML_DESCEND);
if (b && b->type == MXML_TEXT)
{

View file

@ -287,9 +287,9 @@ int cwmp_root_cause_event_bootstrap (struct cwmp *cwmp)
return CWMP_MEM_ERR;
}
add_dm_parameter_tolist(&(event_container->head_dm_parameter),
DMROOT".ManagementServer.URL", NULL, NULL);
DMROOT"ManagementServer.URL", NULL, NULL);
cwmp_save_event_container (cwmp,event_container);
save_acs_bkp_config (cwmp);
save_acs_bkp_config(cwmp);
cwmp_scheduleInform_remove_all();
cwmp_scheduledDownload_remove_all();
pthread_mutex_unlock (&(cwmp->mutex_session_queue));