[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10123 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10123 - gnunet/src/core |
Date: |
Fri, 22 Jan 2010 18:15:29 +0100 |
Author: grothoff
Date: 2010-01-22 18:15:29 +0100 (Fri, 22 Jan 2010)
New Revision: 10123
Modified:
gnunet/src/core/gnunet-service-core.c
Log:
set last_distance
Modified: gnunet/src/core/gnunet-service-core.c
===================================================================
--- gnunet/src/core/gnunet-service-core.c 2010-01-22 17:11:55 UTC (rev
10122)
+++ gnunet/src/core/gnunet-service-core.c 2010-01-22 17:15:29 UTC (rev
10123)
@@ -526,7 +526,6 @@
/**
* What was the last distance to this peer as reported by the transports?
- * (FIXME: actually set this!)
*/
uint32_t last_distance;
@@ -2746,6 +2745,7 @@
return;
}
n->last_latency = latency;
+ n->last_distance = distance;
up = (n->status == PEER_STATE_KEY_CONFIRMED);
type = ntohs (message->type);
size = ntohs (message->size);
@@ -2936,6 +2936,7 @@
neighbour_count++;
n->peer = *peer;
n->last_latency = latency;
+ n->last_distance = distance;
GNUNET_CRYPTO_aes_create_session_key (&n->encrypt_key);
n->encrypt_key_created = now;
n->set_key_retry_frequency = INITIAL_SET_KEY_RETRY_FREQUENCY;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10123 - gnunet/src/core,
gnunet <=