aboutsummaryrefslogtreecommitdiff
path: root/include/sibs/DirectConnection.hpp
diff options
context:
space:
mode:
authorAleksi Lindeman <dec05eba@protonmail.com>2018-11-23 15:44:08 +0100
committerAleksi Lindeman <dec05eba@protonmail.com>2018-11-23 15:47:08 +0100
commit81b59a08b69d4872b06930aedd06a957c4acb7cc (patch)
tree363be779997930f24219193ca74d04a6e682affc /include/sibs/DirectConnection.hpp
parent2b7ed06dcaa149f9ecc800ec17435dca1c04b861 (diff)
Add data routing for failed p2p connections
Diffstat (limited to 'include/sibs/DirectConnection.hpp')
-rw-r--r--include/sibs/DirectConnection.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sibs/DirectConnection.hpp b/include/sibs/DirectConnection.hpp
index eb44153..70eaf4f 100644
--- a/include/sibs/DirectConnection.hpp
+++ b/include/sibs/DirectConnection.hpp
@@ -56,6 +56,7 @@ namespace sibs
PubSubReceiveDataCallback receiveDataCallbackFunc;
int sharedKeys = 0;
PeerType type = PeerType::CLIENT;
+ bool routed = false;
bool operator == (const DirectConnectionPeer &other) const;
bool operator != (const DirectConnectionPeer &other) const;