From fdead2414ccf29e4542d17df5eb18b8bb1d9a878 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Dec 2013 12:48:34 +0000 Subject: allow distance change to communicate changes in network of next hop as well, related to #3191, but not sure if it fixes it --- src/dv/gnunet-dv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dv/gnunet-dv.c') 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, * @param cls closure * @param peer connected peer * @param distance new distance to the peer + * @param network network used on first hop to peer */ static void change_cb (void *cls, const struct GNUNET_PeerIdentity *peer, - uint32_t distance) + uint32_t distance, + uint32_t network) { fprintf (stderr, "Change: %s at %u\n", GNUNET_i2s (peer), -- cgit v1.2.3