aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.c')
-rw-r--r--src/transport/gnunet-service-transport_plugins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.c b/src/transport/gnunet-service-transport_plugins.c
index 9c3044450..6ea59e29c 100644
--- a/src/transport/gnunet-service-transport_plugins.c
+++ b/src/transport/gnunet-service-transport_plugins.c
@@ -104,7 +104,7 @@ plugin_env_update_distance (void *cls,
104 * @param addrlen length of the @a addr 104 * @param addrlen length of the @a addr
105 * @return type of the network @a addr belongs to 105 * @return type of the network @a addr belongs to
106 */ 106 */
107static enum GNUNET_ATS_Network_Type 107static enum GNUNET_NetworkType
108plugin_env_address_to_type (void *cls, 108plugin_env_address_to_type (void *cls,
109 const struct sockaddr *addr, 109 const struct sockaddr *addr,
110 size_t addrlen) 110 size_t addrlen)
@@ -112,9 +112,9 @@ plugin_env_address_to_type (void *cls,
112 if (NULL == GST_is) 112 if (NULL == GST_is)
113 { 113 {
114 GNUNET_break(0); 114 GNUNET_break(0);
115 return GNUNET_ATS_NET_UNSPECIFIED; 115 return GNUNET_NT_UNSPECIFIED;
116 } 116 }
117 return GNUNET_ATS_scanner_address_get_type (GST_is, 117 return GNUNET_NT_scanner_get_type (GST_is,
118 addr, 118 addr,
119 addrlen); 119 addrlen);
120} 120}