gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: RPS: Add more multi-hop sta


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RPS: Add more multi-hop statistics
Date: Thu, 01 Nov 2018 15:49:40 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d40df54e4 RPS: Add more multi-hop statistics
d40df54e4 is described below

commit d40df54e4b08e7388ac83dfe8d52c12c5ae3fb52
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Nov 1 15:47:30 2018 +0100

    RPS: Add more multi-hop statistics
---
 src/rps/gnunet-service-rps.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 9b6b3b7c6..dec921903 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -3624,6 +3624,14 @@ handle_peer_pull_reply (void *cls,
                               "# pull reply messages received",
                               1,
                               GNUNET_NO);
+    if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (map_single_hop,
+          &channel_ctx->peer_ctx->peer_id))
+    {
+      GNUNET_STATISTICS_update (stats,
+                                "# pull reply messages received (multi-hop 
peer)",
+                                1,
+                                GNUNET_NO);
+    }
   }
 
   #ifdef ENABLE_MALICIOUS

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]