diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-29 17:13:57 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-29 17:13:57 +0000 |
commit | 5ca85864950a1fe92613f5ed3a69cd08d248423e (patch) | |
tree | 26b44bbe805223a9ca58aa46d112bb49fad35f72 /src/transport/test_quota_compliance.c | |
parent | b312a0e714d1782f1258b3aaa697f8f36315cd60 (diff) | |
download | gnunet-5ca85864950a1fe92613f5ed3a69cd08d248423e.tar.gz gnunet-5ca85864950a1fe92613f5ed3a69cd08d248423e.zip |
Changed quota configuration from core to ats section, renamed from TOTAL_QUOTA_* to WAN_QUOTA_*
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index bb33be1e8..52051954b 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -484,13 +484,9 @@ generate_config (char *cfg_file, unsigned long long quota_in, | |||
484 | GNUNET_asprintf (&fname, "q_in_%llu_q_out_%llu_%s", quota_in, quota_out, | 484 | GNUNET_asprintf (&fname, "q_in_%llu_q_out_%llu_%s", quota_in, quota_out, |
485 | cfg_file); | 485 | cfg_file); |
486 | GNUNET_CONFIGURATION_set_value_string (cfg, "PATHS", "DEFAULTCONFIG", fname); | 486 | GNUNET_CONFIGURATION_set_value_string (cfg, "PATHS", "DEFAULTCONFIG", fname); |
487 | GNUNET_CONFIGURATION_set_value_number (cfg, "core", "TOTAL_QUOTA_OUT", | 487 | GNUNET_CONFIGURATION_set_value_number (cfg, "ats", "WAN_QUOTA_IN", |
488 | quota_out); | ||
489 | GNUNET_CONFIGURATION_set_value_number (cfg, "core", "TOTAL_QUOTA_IN", | ||
490 | quota_in); | ||
491 | GNUNET_CONFIGURATION_set_value_number (cfg, "ats", "TOTAL_QUOTA_IN", | ||
492 | quota_in); | 488 | quota_in); |
493 | GNUNET_CONFIGURATION_set_value_number (cfg, "ats", "TOTAL_QUOTA_OUT", | 489 | GNUNET_CONFIGURATION_set_value_number (cfg, "ats", "WAN_QUOTA_OUT", |
494 | quota_out); | 490 | quota_out); |
495 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_write (cfg, fname)); | 491 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_write (cfg, fname)); |
496 | GNUNET_CONFIGURATION_destroy (cfg); | 492 | GNUNET_CONFIGURATION_destroy (cfg); |