add our own hello to peerinfo DB
authorChristian Grothoff <christian@grothoff.org>
Mon, 11 Jan 2010 11:10:14 +0000 (11:10 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 11 Jan 2010 11:10:14 +0000 (11:10 +0000)
src/transport/gnunet-service-transport.c

index aae5216bd30dd7653bea725678f92d057f2c91d4..67ad5bfc271d63f02ca44be69228676479035e93 100644 (file)
@@ -1135,6 +1135,7 @@ refresh_hello ()
   GNUNET_free_non_null (our_hello);
   our_hello = hello;
   our_hello_version++;
+  GNUNET_PEERINFO_add_peer (cfg, sched, &my_identity, our_hello);
   npos = neighbours;
   while (npos != NULL)
     {