diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-18 22:43:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-18 22:43:51 +0000 |
commit | 40b9ab5648303db3af346bafa1bc26e7605a20ff (patch) | |
tree | 87caf63e8cdf55778652c9143effa90150b61e90 /src/transport/test_plugin_transport.c | |
parent | bb720291e7a5a71e9139865f97025bfa179cd3a3 (diff) | |
download | gnunet-40b9ab5648303db3af346bafa1bc26e7605a20ff.tar.gz gnunet-40b9ab5648303db3af346bafa1bc26e7605a20ff.zip |
-fix compile issue due to api change
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 11 |
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 | ||
470 | static struct GNUNET_ATS_Information | 470 | static enum GNUNET_ATS_Network_Type |
471 | env_get_address_type (void *cls, const struct sockaddr *addr, size_t addrlen) | 471 | env_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 | ||