mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
socket: show reason for invalid packets
This commit is contained in:
parent
ff07a7bcb3
commit
50cc0a99a0
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ static int socket_read_villas(struct node *n, struct sample *smps[], unsigned cn
|
|||
|
||||
ret = msg_buffer_to_samples(smps, cnt, bufptr, bytes);
|
||||
if (ret < 0)
|
||||
warn("Received invalid packet from node: %s", node_name(n));
|
||||
warn("Received invalid packet from node: %s reason=%d", node_name(n), ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue