From 19192920249965fda8931e667bfbffddaeba502c Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 18 May 2015 20:40:18 -0400 Subject: If we get the ip/port of a relay on a local ip, assume that our friend is hosting a relay on his ip. --- toxcore/friend_connection.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toxcore/friend_connection.h') 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 { Node_format tcp_relays[FRIEND_MAX_STORED_TCP_RELAYS]; uint16_t tcp_relay_counter; + + _Bool hosting_tcp_relay; } Friend_Conn; -- cgit v1.2.3