gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r18232 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r18232 - gnunet/src/transport
Date: Mon, 21 Nov 2011 11:59:53 +0100

Author: wachs
Date: 2011-11-21 11:59:53 +0100 (Mon, 21 Nov 2011)
New Revision: 18232

Modified:
   gnunet/src/transport/plugin_transport_udp.c
Log:
distinguish between beacons


Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2011-11-21 10:20:42 UTC (rev 
18231)
+++ gnunet/src/transport/plugin_transport_udp.c 2011-11-21 10:59:53 UTC (rev 
18232)
@@ -1512,7 +1512,7 @@
                         (const char *) &mc->addr, sizeof (mc->addr));
 
   GNUNET_STATISTICS_update (plugin->env->stats,
-                            _("# HELLO beacons received via udp"), 1,
+                            _("# IPv4 broadcast HELLO beacons received via 
udp"), 1,
                             GNUNET_NO);
   GNUNET_free (mc);
 }
@@ -1549,7 +1549,7 @@
                         (const char *) &mc->addr, sizeof (mc->addr));
 
   GNUNET_STATISTICS_update (plugin->env->stats,
-                            _("# HELLO beacons received via udp"), 1,
+                            _("# IPv6 multicast HELLO beacons received via 
udp"), 1,
                             GNUNET_NO);
   GNUNET_free (mc);
 }
@@ -2409,7 +2409,7 @@
       plugin->broadcast_ipv4_mst =
           GNUNET_SERVER_mst_create (broadcast_ipv4_mst_cb, plugin);
       GNUNET_STATISTICS_update (plugin->env->stats,
-                                _("# HELLO beacons received via udp"), 1,
+                                _("# IPv4 broadcast HELLO beacons received via 
udp"), 1,
                                 GNUNET_NO);
       plugin->select_ipv4_broadcast_task =
           GNUNET_SCHEDULER_add_select (GNUNET_SCHEDULER_PRIORITY_DEFAULT,
@@ -2470,6 +2470,10 @@
       plugin->broadcast_ipv6 = GNUNET_YES;
       plugin->broadcast_ipv6_mst =
           GNUNET_SERVER_mst_create (broadcast_ipv6_mst_cb, plugin);
+
+      GNUNET_STATISTICS_update (plugin->env->stats,
+                                _("# IPv6 multicast HELLO beacons received via 
udp"), 1,
+                                GNUNET_NO);
       plugin->select_ipv6_broadcast_task =
           GNUNET_SCHEDULER_add_select (GNUNET_SCHEDULER_PRIORITY_DEFAULT,
                                        GNUNET_SCHEDULER_NO_TASK,




reply via email to

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