diff options
Diffstat (limited to 'src/transport/gnunet-communicator-udp.c')
-rw-r--r-- | src/transport/gnunet-communicator-udp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-udp.c b/src/transport/gnunet-communicator-udp.c index b7a3b4082..201e94e80 100644 --- a/src/transport/gnunet-communicator-udp.c +++ b/src/transport/gnunet-communicator-udp.c | |||
@@ -2354,6 +2354,13 @@ sock_read (void *cls) | |||
2354 | uhs.purpose.size = htonl (sizeof(uhs)); | 2354 | uhs.purpose.size = htonl (sizeof(uhs)); |
2355 | uhs.sender = ub->sender; | 2355 | uhs.sender = ub->sender; |
2356 | sender = ub->sender; | 2356 | sender = ub->sender; |
2357 | if (0 == memcmp (&sender, &my_identity, sizeof (struct | ||
2358 | GNUNET_PeerIdentity))) | ||
2359 | { | ||
2360 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
2361 | "Received our own broadcast\n"); | ||
2362 | return; | ||
2363 | } | ||
2357 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2364 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2358 | "checking UDPBroadcastSignature for %s\n", | 2365 | "checking UDPBroadcastSignature for %s\n", |
2359 | GNUNET_i2s (&sender)); | 2366 | GNUNET_i2s (&sender)); |