Align with bbfdm new design

This commit is contained in:
Amin Ben Romdhane 2025-02-12 16:15:15 +01:00
parent 07a0518925
commit 598cb53994
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ static void ubus_get_parameter_callback(struct ubus_request *req, int type __att
char *param_type = tb[2] ? blobmsg_get_string(tb[2]) : "";
bool writable = strcmp(param_value, "1") == 0 ? true : false;
add_dm_parameter_to_list_without_check(result->parameters_list, param_name, param_value, param_type, writable);
add_dm_parameter_to_list(result->parameters_list, param_name, param_value, param_type, 0, writable);
if (inst_mode == INSTANCE_MODE_ALIAS) {
/* in GPN alias values comes in tb[4] i.e the output field */

View file

@ -272,7 +272,7 @@ static int cwmp_diagnostics_operate(const char *command, const char *command_key
CWMP_MEMSET(&b, 0, sizeof(struct blob_buf));
blob_buf_init(&b, 0);
bb_add_string(&b, "command", command);
bb_add_string(&b, "path", command);
bb_add_string(&b, "command_key", command_key);
if (number_inputs > 0) {