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/ats/gnunet-service-ats_performance.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/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 92a9aca6d..e3a863f2a 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -82,7 +82,7 @@ notify_client (struct GNUNET_SERVICE_Client *client, | |||
82 | char *addrp; | 82 | char *addrp; |
83 | 83 | ||
84 | if (NULL != prop) | 84 | if (NULL != prop) |
85 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | 85 | GNUNET_break (GNUNET_NT_UNSPECIFIED != prop->scope); |
86 | GNUNET_assert (msize < GNUNET_MAX_MESSAGE_SIZE); | 86 | GNUNET_assert (msize < GNUNET_MAX_MESSAGE_SIZE); |
87 | msg = (struct PeerInformationMessage *) buf; | 87 | msg = (struct PeerInformationMessage *) buf; |
88 | msg->header.size = htons (msize); | 88 | msg->header.size = htons (msize); |
@@ -151,7 +151,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, | |||
151 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) | 151 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) |
152 | { | 152 | { |
153 | GNUNET_break ( (NULL == prop) || | 153 | GNUNET_break ( (NULL == prop) || |
154 | (GNUNET_ATS_NET_UNSPECIFIED != prop->scope) ); | 154 | (GNUNET_NT_UNSPECIFIED != prop->scope) ); |
155 | notify_client (NULL, | 155 | notify_client (NULL, |
156 | peer, | 156 | peer, |
157 | plugin_name, | 157 | plugin_name, |
@@ -205,7 +205,7 @@ peerinfo_it (void *cls, | |||
205 | plugin_name, | 205 | plugin_name, |
206 | (unsigned int) ntohl (bandwidth_out.value__), | 206 | (unsigned int) ntohl (bandwidth_out.value__), |
207 | (unsigned int) ntohl (bandwidth_in.value__)); | 207 | (unsigned int) ntohl (bandwidth_in.value__)); |
208 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | 208 | GNUNET_break (GNUNET_NT_UNSPECIFIED != prop->scope); |
209 | notify_client (client, | 209 | notify_client (client, |
210 | id, | 210 | id, |
211 | plugin_name, | 211 | plugin_name, |