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/gnunet-service-transport_plugins.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/gnunet-service-transport_plugins.c')
-rw-r--r-- | src/transport/gnunet-service-transport_plugins.c | 6 |
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 | */ |
107 | static enum GNUNET_ATS_Network_Type | 107 | static enum GNUNET_NetworkType |
108 | plugin_env_address_to_type (void *cls, | 108 | plugin_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 | } |