mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
icwmp: delete logs
This commit is contained in:
parent
be5ba980aa
commit
495e905c30
1 changed files with 0 additions and 5 deletions
|
|
@ -385,26 +385,21 @@ int cwmp_update_enabled_list_notify(int instance_mode, int notify_type)
|
||||||
int e;
|
int e;
|
||||||
CWMP_LOG (INFO,"Get List Notify for %s paramters values", notify_type == OLD_LIST_NOTIFY ? "old": "actual");
|
CWMP_LOG (INFO,"Get List Notify for %s paramters values", notify_type == OLD_LIST_NOTIFY ? "old": "actual");
|
||||||
if (notify_type == OLD_LIST_NOTIFY) {
|
if (notify_type == OLD_LIST_NOTIFY) {
|
||||||
CWMP_LOG (INFO,"%s line %d", __FILE__, __LINE__);
|
|
||||||
FREE_JSON(old_list_notify)
|
FREE_JSON(old_list_notify)
|
||||||
FREE_JSON(old_global_json_obj)
|
FREE_JSON(old_global_json_obj)
|
||||||
CWMP_LOG (INFO,"%s:%s line %d", __FILE__, __FUNCTION__, __LINE__);
|
|
||||||
e = cwmp_ubus_call("usp.raw", "list_notify", CWMP_UBUS_ARGS{{"instance_mode", {.int_val=instance_mode}, UBUS_Integer}}, 1, &old_global_json_obj);
|
e = cwmp_ubus_call("usp.raw", "list_notify", CWMP_UBUS_ARGS{{"instance_mode", {.int_val=instance_mode}, UBUS_Integer}}, 1, &old_global_json_obj);
|
||||||
if (e)
|
if (e)
|
||||||
return e;
|
return e;
|
||||||
json_object_object_get_ex(old_global_json_obj, "parameters", &old_list_notify);
|
json_object_object_get_ex(old_global_json_obj, "parameters", &old_list_notify);
|
||||||
CWMP_LOG (INFO,"%s line %d", __FILE__, __LINE__);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
CWMP_LOG (INFO,"%s line %d", __FILE__, __LINE__);
|
CWMP_LOG (INFO,"%s line %d", __FILE__, __LINE__);
|
||||||
FREE_JSON(actual_list_notify)
|
FREE_JSON(actual_list_notify)
|
||||||
FREE_JSON(actual_global_json_obj)
|
FREE_JSON(actual_global_json_obj)
|
||||||
CWMP_LOG (INFO,"%s line %d", __FILE__, __FUNCTION__, __LINE__);
|
|
||||||
e = cwmp_ubus_call("usp.raw", "list_notify", CWMP_UBUS_ARGS{{"instance_mode", {.int_val=instance_mode}, UBUS_Integer}}, 1, &actual_global_json_obj);
|
e = cwmp_ubus_call("usp.raw", "list_notify", CWMP_UBUS_ARGS{{"instance_mode", {.int_val=instance_mode}, UBUS_Integer}}, 1, &actual_global_json_obj);
|
||||||
if (e)
|
if (e)
|
||||||
return e;
|
return e;
|
||||||
json_object_object_get_ex(actual_global_json_obj, "parameters", &actual_list_notify);
|
json_object_object_get_ex(actual_global_json_obj, "parameters", &actual_list_notify);
|
||||||
CWMP_LOG (INFO,"%s line %d", __FILE__, __FUNCTION__, __LINE__);
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue