summaryrefslogtreecommitdiff
path: root/core/net_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/net_crypto.c')
-rw-r--r--core/net_crypto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/net_crypto.c b/core/net_crypto.c
index 2af5239b..faeb6be6 100644
--- a/core/net_crypto.c
+++ b/core/net_crypto.c
@@ -660,6 +660,9 @@ static void receive_crypto()
660 { 660 {
661 increment_nonce(crypto_connections[i].recv_nonce); 661 increment_nonce(crypto_connections[i].recv_nonce);
662 crypto_connections[i].status = 3; 662 crypto_connections[i].status = 3;
663
664 //connection is accepted so we disable the auto kill by setting it to about 1 month from now.
665 kill_connection_in(crypto_connections[i].number, 3000000);
663 } 666 }
664 else 667 else
665 { 668 {