diff options
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r-- | toxcore/net_crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 63012ce6..cfc7d366 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -1817,6 +1817,7 @@ static int tcp_oob_callback(void *object, const uint8_t *public_key, const uint8 | |||
1817 | 1817 | ||
1818 | if (crypt_connection_id == -1) { | 1818 | if (crypt_connection_id == -1) { |
1819 | IP_Port source; | 1819 | IP_Port source; |
1820 | source.port = 0; | ||
1820 | source.ip.family = TCP_FAMILY; | 1821 | source.ip.family = TCP_FAMILY; |
1821 | source.ip.ip6.uint32[0] = location; | 1822 | source.ip.ip6.uint32[0] = location; |
1822 | 1823 | ||