diff options
author | irungentoo <irungentoo@gmail.com> | 2015-05-18 20:40:18 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-05-18 20:40:18 -0400 |
commit | 19192920249965fda8931e667bfbffddaeba502c (patch) | |
tree | b14800cde0e68a9cfed1936e4960b7aa23df1fea /toxcore/friend_connection.h | |
parent | 40f113c0773d239a107d7085e3f72468e5014f9b (diff) |
If we get the ip/port of a relay on a local ip, assume that our friend
is hosting a relay on his ip.
Diffstat (limited to 'toxcore/friend_connection.h')
-rw-r--r-- | toxcore/friend_connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h index baca4b76..32e947ac 100644 --- a/toxcore/friend_connection.h +++ b/toxcore/friend_connection.h | |||
@@ -96,6 +96,8 @@ typedef struct { | |||
96 | 96 | ||
97 | Node_format tcp_relays[FRIEND_MAX_STORED_TCP_RELAYS]; | 97 | Node_format tcp_relays[FRIEND_MAX_STORED_TCP_RELAYS]; |
98 | uint16_t tcp_relay_counter; | 98 | uint16_t tcp_relay_counter; |
99 | |||
100 | _Bool hosting_tcp_relay; | ||
99 | } Friend_Conn; | 101 | } Friend_Conn; |
100 | 102 | ||
101 | 103 | ||