diff options
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 6 |
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, |