-allow outbound monitoring of self-loop messages without bitching
authorChristian Grothoff <christian@grothoff.org>
Thu, 10 May 2012 09:24:58 +0000 (09:24 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 10 May 2012 09:24:58 +0000 (09:24 +0000)
src/core/core_api.c

index 18bfde7a9a834bf8b8fd80908b3393da15cceff9..526dc9fffd7e2b1271a333bbbefe1040a1736315 100644 (file)
@@ -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) +