aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-18 22:43:51 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-18 22:43:51 +0000
commit40b9ab5648303db3af346bafa1bc26e7605a20ff (patch)
tree87caf63e8cdf55778652c9143effa90150b61e90 /src
parentbb720291e7a5a71e9139865f97025bfa179cd3a3 (diff)
downloadgnunet-40b9ab5648303db3af346bafa1bc26e7605a20ff.tar.gz
gnunet-40b9ab5648303db3af346bafa1bc26e7605a20ff.zip
-fix compile issue due to api change
Diffstat (limited to 'src')
-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