diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-13 12:48:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-13 12:48:34 +0000 |
commit | fdead2414ccf29e4542d17df5eb18b8bb1d9a878 (patch) | |
tree | 108da53bbe006b4c5a308fbff42d425cf7b79db6 /src/dv/gnunet-dv.c | |
parent | f67fd220c5280b352c6cc9f689d5b4fb528092cd (diff) | |
download | gnunet-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.c | 4 |
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 | */ |
66 | static void | 67 | static void |
67 | change_cb (void *cls, | 68 | change_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), |