aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 89a9a8b16..561a62396 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -1514,7 +1514,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour,
1514 if (NULL == (n = lookup_neighbour (neighbour))) 1514 if (NULL == (n = lookup_neighbour (neighbour)))
1515 { 1515 {
1516 GNUNET_STATISTICS_update (GST_stats, 1516 GNUNET_STATISTICS_update (GST_stats,
1517 gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (not connected)"), 1517 gettext_noop ("# KEEPALIVE_RESPONSEs discarded (not connected)"),
1518 1, 1518 1,
1519 GNUNET_NO); 1519 GNUNET_NO);
1520 return; 1520 return;
@@ -1523,7 +1523,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour,
1523 (GNUNET_YES != n->expect_latency_response) ) 1523 (GNUNET_YES != n->expect_latency_response) )
1524 { 1524 {
1525 GNUNET_STATISTICS_update (GST_stats, 1525 GNUNET_STATISTICS_update (GST_stats,
1526 gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (not expected)"), 1526 gettext_noop ("# KEEPALIVE_RESPONSEs discarded (not expected)"),
1527 1, 1527 1,
1528 GNUNET_NO); 1528 GNUNET_NO);
1529 return; 1529 return;
@@ -1531,7 +1531,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour,
1531 if (NULL == n->primary_address.address) 1531 if (NULL == n->primary_address.address)
1532 { 1532 {
1533 GNUNET_STATISTICS_update (GST_stats, 1533 GNUNET_STATISTICS_update (GST_stats,
1534 gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (address changed)"), 1534 gettext_noop ("# KEEPALIVE_RESPONSEs discarded (address changed)"),
1535 1, 1535 1,
1536 GNUNET_NO); 1536 GNUNET_NO);
1537 return; 1537 return;
@@ -1540,18 +1540,18 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour,
1540 { 1540 {
1541 if (0 == n->primary_address.keep_alive_nonce) 1541 if (0 == n->primary_address.keep_alive_nonce)
1542 GNUNET_STATISTICS_update (GST_stats, 1542 GNUNET_STATISTICS_update (GST_stats,
1543 gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (no nonce)"), 1543 gettext_noop ("# KEEPALIVE_RESPONSEs discarded (no nonce)"),
1544 1, 1544 1,
1545 GNUNET_NO); 1545 GNUNET_NO);
1546 else 1546 else
1547 GNUNET_STATISTICS_update (GST_stats, 1547 GNUNET_STATISTICS_update (GST_stats,
1548 gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (wrong nonce)"), 1548 gettext_noop ("# KEEPALIVE_RESPONSEs discarded (bad nonce)"),
1549 1, 1549 1,
1550 GNUNET_NO); 1550 GNUNET_NO);
1551 return; 1551 return;
1552 } 1552 }
1553 GNUNET_STATISTICS_update (GST_stats, 1553 GNUNET_STATISTICS_update (GST_stats,
1554 gettext_noop ("# KEEPALIVE_RESPONSE messages received in good order"), 1554 gettext_noop ("# KEEPALIVE_RESPONSEs received (OK)"),
1555 1, 1555 1,
1556 GNUNET_NO); 1556 GNUNET_NO);
1557 1557