Skip to content
Snippets Groups Projects
Commit 2b1ecbd2 authored by Vivek Dutta's avatar Vivek Dutta
Browse files

Fix validation error

parent 4a6f6f82
No related branches found
No related tags found
1 merge request!18Fix validation error
Pipeline #162113 passed
...@@ -121,7 +121,7 @@ static int get_atm_destination_address(char *refparam, struct dmctx *ctx, void * ...@@ -121,7 +121,7 @@ static int get_atm_destination_address(char *refparam, struct dmctx *ctx, void *
dmuci_get_value_by_section_string(((struct dm_data *)data)->dmmap_section, "vpi", &vpi); dmuci_get_value_by_section_string(((struct dm_data *)data)->dmmap_section, "vpi", &vpi);
dmuci_get_value_by_section_string(((struct dm_data *)data)->config_section, "vci", &vci); dmuci_get_value_by_section_string(((struct dm_data *)data)->config_section, "vci", &vci);
dmasprintf(value, "%s/%s", vpi, vci); // MEM WILL BE FREED IN DMMEMCLEAN dmasprintf(value, "%s/%s", DM_STRLEN(vpi) ? vpi : "0", vci); // MEM WILL BE FREED IN DMMEMCLEAN
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment