[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31345 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31345 - gnunet/src/transport |
Date: |
Fri, 13 Dec 2013 10:05:33 +0100 |
Author: wachs
Date: 2013-12-13 10:05:33 +0100 (Fri, 13 Dec 2013)
New Revision: 31345
Modified:
gnunet/src/transport/gnunet-service-transport_neighbours.c
Log:
this is not possible, since identity check is enforced by transport_clients on
try connect call
Modified: gnunet/src/transport/gnunet-service-transport_neighbours.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_neighbours.c 2013-12-12
21:44:23 UTC (rev 31344)
+++ gnunet/src/transport/gnunet-service-transport_neighbours.c 2013-12-13
09:05:33 UTC (rev 31345)
@@ -1732,15 +1732,6 @@
GNUNET_i2s (target));
return; /* during shutdown, do nothing */
}
- if (0 == memcmp (target,
- &GST_my_identity, sizeof (struct GNUNET_PeerIdentity)))
- {
- /* refuse to connect to myself */
- /* FIXME: can this happen? Is this not an API violation? */
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Refusing to try to connect to myself.\n");
- return;
- }
n = lookup_neighbour (target);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Asked to connect to peer `%s' (state: %s)\n",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31345 - gnunet/src/transport,
gnunet <=