aboutsummaryrefslogtreecommitdiff
path: root/src/dv/gnunet-dv.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-13 12:48:34 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-13 12:48:34 +0000
commitfdead2414ccf29e4542d17df5eb18b8bb1d9a878 (patch)
tree108da53bbe006b4c5a308fbff42d425cf7b79db6 /src/dv/gnunet-dv.c
parentf67fd220c5280b352c6cc9f689d5b4fb528092cd (diff)
downloadgnunet-fdead2414ccf29e4542d17df5eb18b8bb1d9a878.tar.gz
gnunet-fdead2414ccf29e4542d17df5eb18b8bb1d9a878.zip
allow distance change to communicate changes in network of next hop as well, related to #3191, but not sure if it fixes it
Diffstat (limited to 'src/dv/gnunet-dv.c')
-rw-r--r--src/dv/gnunet-dv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dv/gnunet-dv.c b/src/dv/gnunet-dv.c
index 7be154792..dc17e1a64 100644
--- a/src/dv/gnunet-dv.c
+++ b/src/dv/gnunet-dv.c
@@ -62,11 +62,13 @@ connect_cb (void *cls,
62 * @param cls closure 62 * @param cls closure
63 * @param peer connected peer 63 * @param peer connected peer
64 * @param distance new distance to the peer 64 * @param distance new distance to the peer
65 * @param network network used on first hop to peer
65 */ 66 */
66static void 67static void
67change_cb (void *cls, 68change_cb (void *cls,
68 const struct GNUNET_PeerIdentity *peer, 69 const struct GNUNET_PeerIdentity *peer,
69 uint32_t distance) 70 uint32_t distance,
71 uint32_t network)
70{ 72{
71 fprintf (stderr, "Change: %s at %u\n", 73 fprintf (stderr, "Change: %s at %u\n",
72 GNUNET_i2s (peer), 74 GNUNET_i2s (peer),