diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
commit | 61787bfa37e0ac5998e01d9c4806600033c19c74 (patch) | |
tree | 1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/transport/plugin_transport_template.c | |
parent | 4a3be482811fe8ed1502fea2c12a8449b560a99e (diff) | |
download | gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.tar.gz gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.zip |
rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification
Diffstat (limited to 'src/transport/plugin_transport_template.c')
-rw-r--r-- | src/transport/plugin_transport_template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index 679d83daa..be2dfb1c8 100644 --- a/src/transport/plugin_transport_template.c +++ b/src/transport/plugin_transport_template.c | |||
@@ -284,12 +284,12 @@ template_plugin_query_keepalive_factor (void *cls) | |||
284 | * @param session the session | 284 | * @param session the session |
285 | * @return the network type in HBO or #GNUNET_SYSERR | 285 | * @return the network type in HBO or #GNUNET_SYSERR |
286 | */ | 286 | */ |
287 | static enum GNUNET_ATS_Network_Type | 287 | static enum GNUNET_NetworkType |
288 | template_plugin_get_network (void *cls, | 288 | template_plugin_get_network (void *cls, |
289 | struct GNUNET_ATS_Session *session) | 289 | struct GNUNET_ATS_Session *session) |
290 | { | 290 | { |
291 | GNUNET_assert (NULL != session); | 291 | GNUNET_assert (NULL != session); |
292 | return GNUNET_ATS_NET_UNSPECIFIED; /* Change to correct network type */ | 292 | return GNUNET_NT_UNSPECIFIED; /* Change to correct network type */ |
293 | } | 293 | } |
294 | 294 | ||
295 | 295 | ||
@@ -300,11 +300,11 @@ template_plugin_get_network (void *cls, | |||
300 | * @param address the address | 300 | * @param address the address |
301 | * @return the network type | 301 | * @return the network type |
302 | */ | 302 | */ |
303 | static enum GNUNET_ATS_Network_Type | 303 | static enum GNUNET_NetworkType |
304 | template_plugin_get_network_for_address (void *cls, | 304 | template_plugin_get_network_for_address (void *cls, |
305 | const struct GNUNET_HELLO_Address *address) | 305 | const struct GNUNET_HELLO_Address *address) |
306 | { | 306 | { |
307 | return GNUNET_ATS_NET_WAN; /* FOR NOW */ | 307 | return GNUNET_NT_WAN; /* FOR NOW */ |
308 | } | 308 | } |
309 | 309 | ||
310 | 310 | ||