From 28ba67dfec0c9e681bcb7073ade8bc7b3bdf8c39 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 4 Feb 2014 18:51:34 +0000 Subject: [PATCH] - store own hello --- src/mesh/gnunet-service-mesh_hello.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesh/gnunet-service-mesh_hello.c b/src/mesh/gnunet-service-mesh_hello.c index d0209dcf8..c380b0f31 100644 --- a/src/mesh/gnunet-service-mesh_hello.c +++ b/src/mesh/gnunet-service-mesh_hello.c @@ -108,6 +108,9 @@ got_hello (void *cls, const struct GNUNET_PeerIdentity *id, LOG (GNUNET_ERROR_TYPE_DEBUG, " hello for %s\n", GNUNET_i2s (id)); peer = GMP_get (id); GMP_set_hello (peer, hello); + + if (GMP_get_short_id (peer) == myid) + mine = hello; } -- 2.25.1