From: Christian Grothoff Date: Thu, 10 May 2012 09:24:58 +0000 (+0000) Subject: -allow outbound monitoring of self-loop messages without bitching X-Git-Tag: initial-import-from-subversion-38251~13554 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5380874d6e9ed59c5115bd6ca1d4296aa13176b1;p=oweals%2Fgnunet.git -allow outbound monitoring of self-loop messages without bitching --- diff --git a/src/core/core_api.c b/src/core/core_api.c index 18bfde7a9..526dc9fff 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -983,12 +983,6 @@ main_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg) return; } ntm = (const struct NotifyTrafficMessage *) msg; - if (0 == memcmp (&h->me, &ntm->peer, sizeof (struct GNUNET_PeerIdentity))) - { - /* self-change!? */ - GNUNET_break (0); - return; - } ats_count = ntohl (ntm->ats_count); if ((msize < sizeof (struct NotifyTrafficMessage) +