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/ats_api_scheduling.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/ats_api_scheduling.c')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index 783b9f596..2ce6aed3d 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -476,7 +476,7 @@ send_add_address_message (struct GNUNET_ATS_SchedulingHandle *sh, | |||
476 | 476 | ||
477 | if (NULL == sh->mq) | 477 | if (NULL == sh->mq) |
478 | return; /* disconnected, skip for now */ | 478 | return; /* disconnected, skip for now */ |
479 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != ar->properties.scope); | 479 | GNUNET_break (GNUNET_NT_UNSPECIFIED != ar->properties.scope); |
480 | namelen = strlen (ar->address->transport_name) + 1; | 480 | namelen = strlen (ar->address->transport_name) + 1; |
481 | msize = ar->address->address_length + namelen; | 481 | msize = ar->address->address_length + namelen; |
482 | ev = GNUNET_MQ_msg_extra (m, msize, GNUNET_MESSAGE_TYPE_ATS_ADDRESS_ADD); | 482 | ev = GNUNET_MQ_msg_extra (m, msize, GNUNET_MESSAGE_TYPE_ATS_ADDRESS_ADD); |
@@ -652,7 +652,7 @@ GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, | |||
652 | GNUNET_break (0); | 652 | GNUNET_break (0); |
653 | return NULL; | 653 | return NULL; |
654 | } | 654 | } |
655 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | 655 | GNUNET_break (GNUNET_NT_UNSPECIFIED != prop->scope); |
656 | namelen = strlen (address->transport_name) + 1; | 656 | namelen = strlen (address->transport_name) + 1; |
657 | msize = address->address_length + namelen; | 657 | msize = address->address_length + namelen; |
658 | if ((msize + sizeof (struct AddressUpdateMessage) >= GNUNET_MAX_MESSAGE_SIZE) || | 658 | if ((msize + sizeof (struct AddressUpdateMessage) >= GNUNET_MAX_MESSAGE_SIZE) || |
@@ -755,7 +755,7 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, | |||
755 | ar->address->transport_name, | 755 | ar->address->transport_name, |
756 | ar->session, | 756 | ar->session, |
757 | ar->slot); | 757 | ar->slot); |
758 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | 758 | GNUNET_break (GNUNET_NT_UNSPECIFIED != prop->scope); |
759 | GNUNET_ATS_properties_hton (&ar->properties, | 759 | GNUNET_ATS_properties_hton (&ar->properties, |
760 | prop); | 760 | prop); |
761 | if (NULL == sh->mq) | 761 | if (NULL == sh->mq) |