Skip to content

Commit

Permalink
information: fix batadv element length
Browse files Browse the repository at this point in the history
  • Loading branch information
blocktrron committed Apr 3, 2024
1 parent 1383281 commit f6c595a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/information.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int node_whisperer_information_batman_adv_collect(uint8_t *buffer, size_t buffer
tmp = htons(num_clients);
memcpy(&buffer[6], &tmp, sizeof(tmp));

return 6;
return 8;
}

int node_whisperer_information_uptime_collect(uint8_t *buffer, size_t buffer_size) {
Expand Down

0 comments on commit f6c595a

Please sign in to comment.