aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index e9942cff9..2185478e7 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -467,13 +467,12 @@ env_notify_address (void *cls,
467} 467}
468 468
469 469
470static struct GNUNET_ATS_Information 470static enum GNUNET_ATS_Network_Type
471env_get_address_type (void *cls, const struct sockaddr *addr, size_t addrlen) 471env_get_address_type (void *cls,
472 const struct sockaddr *addr,
473 size_t addrlen)
472{ 474{
473 struct GNUNET_ATS_Information ats; 475 return GNUNET_ATS_NET_LOOPBACK;
474 ats.type = htonl (GNUNET_ATS_NETWORK_TYPE);
475 ats.value = htonl (GNUNET_ATS_NET_LOOPBACK);
476 return ats;
477} 476}
478 477
479 478