From 5380874d6e9ed59c5115bd6ca1d4296aa13176b1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 10 May 2012 09:24:58 +0000 Subject: [PATCH] -allow outbound monitoring of self-loop messages without bitching --- src/core/core_api.c | 6 ------ 1 file changed, 6 deletions(-) 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) + -- 2.25.1