* @file transport/gnunet-service-transport_manipulation.c
* @brief transport component manipulation traffic for simulation
* @author Christian Grothoff
- * @author
+ * @author Matthias Wachs
*/
#include "platform.h"
#include "gnunet-service-transport_blacklist.h"
/* Set distance */
if ((ntohl(ats[d].type) == GNUNET_ATS_QUALITY_NET_DISTANCE) &&
(UINT32_MAX != tmp->metrics[TM_RECEIVE][DISTANCE]))
- {
ats_new[d].value = htonl(tmp->metrics[TM_RECEIVE][DISTANCE]);
- }
}
/* Manipulate receive delay */
if (UINT32_MAX != tmp->metrics[TM_RECEIVE][DELAY])
return m_delay;
}
}
+ else
+ return GST_receive_callback (cls, peer, message, &ats_new[0], ats_count,
+ session, sender_address, sender_address_len);
}
return GST_receive_callback (cls, peer, message, ats, ats_count,