mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added more detailed debug message
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@241 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
parent
8b9eb4da71
commit
7ccecdbb1a
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ int msg_send(struct msg *m, struct node *n)
|
|||
sizeof(struct sockaddr_in)) < 0)
|
||||
perror("Failed sendto");
|
||||
|
||||
debug(10, "Message sent to node '%s'", n->name);
|
||||
debug(10, "Message sent to node '%s': version=%u, type=%u, endian=%u, length=%u, sequence=%u",
|
||||
n->name, m->version, m->type, m->endian, m->length, ntohs(m->sequence));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue