[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33540 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33540 - gnunet/src/transport |
Date: |
Thu, 5 Jun 2014 15:46:59 +0200 |
Author: wachs
Date: 2014-06-05 15:46:59 +0200 (Thu, 05 Jun 2014)
New Revision: 33540
Modified:
gnunet/src/transport/plugin_transport_tcp.c
Log:
remove protocol violation
- this issue can occur when 2 peers use the same addresses, for example private
ip addresses
So if a remote peer uses and publishes the same private address as the local
peer, we might receive our own id if we try to connect it
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2014-06-05 13:45:58 UTC (rev
33539)
+++ gnunet/src/transport/plugin_transport_tcp.c 2014-06-05 13:46:59 UTC (rev
33540)
@@ -2081,13 +2081,12 @@
GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
if (GNUNET_OK == GNUNET_SERVER_client_get_address (client, &vaddr, &alen))
{
- LOG(GNUNET_ERROR_TYPE_WARNING,
+ LOG(GNUNET_ERROR_TYPE_INFO,
"Received %s message from my own identity `%4s' on address `%s'\n",
"WELCOME", GNUNET_i2s (&wm->clientIdentity),
GNUNET_a2s (vaddr, alen));
GNUNET_free(vaddr);
}
- GNUNET_break_op(0);
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33540 - gnunet/src/transport,
gnunet <=