aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_quota_compliance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-23 17:19:53 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-23 17:19:53 +0100
commit61787bfa37e0ac5998e01d9c4806600033c19c74 (patch)
tree1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/transport/test_quota_compliance.c
parent4a3be482811fe8ed1502fea2c12a8449b560a99e (diff)
downloadgnunet-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/test_quota_compliance.c')
-rw-r--r--src/transport/test_quota_compliance.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index cd93ff855..6309c3278 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -209,14 +209,14 @@ generate_config (const char *cfg_file,
209 "PATHS", 209 "PATHS",
210 "DEFAULTCONFIG", 210 "DEFAULTCONFIG",
211 fname); 211 fname);
212 for (int c = 0; c < GNUNET_ATS_NetworkTypeCount; c++) 212 for (int c = 0; c < GNUNET_NT_COUNT; c++)
213 { 213 {
214 GNUNET_asprintf (&in_name, 214 GNUNET_asprintf (&in_name,
215 "%s_QUOTA_IN", 215 "%s_QUOTA_IN",
216 GNUNET_ATS_print_network_type (c)); 216 GNUNET_NT_to_string (c));
217 GNUNET_asprintf (&out_name, 217 GNUNET_asprintf (&out_name,
218 "%s_QUOTA_OUT", 218 "%s_QUOTA_OUT",
219 GNUNET_ATS_print_network_type (c)); 219 GNUNET_NT_to_string (c));
220 GNUNET_CONFIGURATION_set_value_number (cfg, 220 GNUNET_CONFIGURATION_set_value_number (cfg,
221 "ats", 221 "ats",
222 in_name, 222 in_name,