Skip to content
Snippets Groups Projects
Commit 4f03a5c6 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

network: tid, socket_id, value_id: default to 0

parent 5257ac31
Branches
Tags
No related merge requests found
...@@ -84,13 +84,13 @@ struct ParsedMessage { ...@@ -84,13 +84,13 @@ struct ParsedMessage {
/* target id around which to find nodes */ /* target id around which to find nodes */
InfoHash target; InfoHash target;
/* transaction id */ /* transaction id */
Tid tid; Tid tid {0};
/* tid for packets going through request socket */ /* tid for packets going through request socket */
Tid socket_id; Tid socket_id {0};
/* security token */ /* security token */
Blob token; Blob token;
/* the value id (announce confirmation) */ /* the value id (announce confirmation) */
Value::Id value_id; Value::Id value_id {0};
/* time when value was first created */ /* time when value was first created */
time_point created { time_point::max() }; time_point created { time_point::max() };
/* IPv4 nodes in response to a 'find' request */ /* IPv4 nodes in response to a 'find' request */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment