Skip to content

Commit

Permalink
fix: modify Distribution network failure problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiang Ya Feng committed May 14, 2021
1 parent 240a31b commit 72e7029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mlink/mlink_httpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static mdf_err_t mlink_get_mesh_info(httpd_req_t *req)
char *tmp_ptr = routing_table_str;

for (int i = 0; i < routing_table_size; i++) {
tmp_ptr += sprintf(tmp_ptr, "%s%2x%02x%02x%02x%02x%02x",
tmp_ptr += sprintf(tmp_ptr, "%s%02x%02x%02x%02x%02x%02x",
(i == 0) ? "" : ",", MAC2STR(routing_table[i].addr));
}

Expand Down

0 comments on commit 72e7029

Please sign in to comment.