if (NULL == h->status_events)
{
GNUNET_break (0);
- break;
}
if (msize < sizeof (struct PeerStatusNotifyMessage))
{
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) + ats_count * sizeof (struct GNUNET_TRANSPORT_ATS_Information)
+ sizeof (struct GNUNET_MessageHeader)) ||